javascript - Get the most left X and the most right X from the AmXYChart -
let's have amxychart 1 below. how can automatically coordinates of left , right x values? illustration in our case 1 , 15.
you can min/max of value axis accessing min , max properties. note, can after chart rendered: http://jsfiddle.net/qge47/1/ getaxisbounds = function(){ console.log(chart.valueaxes[0].min + " " + chart.valueaxes[0].max); console.log(chart.valueaxes[1].min + " " + chart.valueaxes[1].max); }
javascript charts amcharts
No comments:
Post a Comment