I am currently utilizing Amcharts to display my data.
Within my chart, I have 4 graphs with valueAxes ranging from 0 to 100.
Is there a method for me to dynamically change the valueAxes to a range of 0-250 after the chart has been loaded in the view?
I attempted to follow this guide, but unfortunately, it did not work as expected.
Although I have tried using the code snippet below to change the axis values and graph, it hasn't produced the desired outcome:
<input class="form-control maxField" type="number" placeholder="Max value">
$(".maxField").on("keyup", function() {
var valueAxis = new AmCharts.ValueAxis();
valueAxis.maximum = this.value;
chart.addValueAxis(valueAxis);
chart.validateNow();
});