I'm using Amcharts to populate my data.
I have 4 graphs in my chart with valueAxes 0-100.
Is there any way for me to change the valueAxes dynamically to 0-250 after chart is loaded in the view.
I tried this, but it is not working.
I'm using this to change but it is not changing the axis values and graph.
<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();
});