You must be logged in to post your query.
Home › Forums › Chart Support › Setting custom Interval in XYY Line chart fails to render anything
Tagged: set Interval
We are using CanvasJS for an XYY line chart. We are allowing the software users choose to have the chart display with CanvasJS automatic calculated values, or to set their own Minimum, Maximum and Interval values for each of the Y Axes. Any combination of those 6 options are possible at any time. With User supplied Minimum and Maximum values all seems to be OK, the chart is rendering as expected. When we set Interval a Y or Y2 axis interval value, as shown below:
myChart.options.axisY.interval = n; // a verified integer AND / OR
myChart.options.axisY2.interval = n;
The chart simply fails to render at all and we are left with a blank canvas.
These settings are made before any call to myChart.render();
We are unable to reproduce the issue. Can you please create a jsfiddle with the issue, so that we can look into it and help you out.
Thanks for looking into this. We will look into making a jsfiddle for further assistance.
You must be logged in to reply to this topic. Login/Register