Home › forums › Using CanvasJS › Graph data not consistent for X-axis
This topic contains 1 reply, has 2 voices, and was last updated by Indranil Deo 6 days, 2 hours ago.
First of, great software. Love it. Thank you for your support as well.
We have a couple filters (Today, Yesterday, Weekly, Monthly, Custom)
What we want is for (Today, Yesterday) to show data as hourly (x-axis.)
We want (Weekly, Monthly, Custom) to show data as daily (x-axis.)
Sometimes it shows hourly, but other times it is showing different hour increments. Why is the graph increments changing and how do we set the data increments we want to use?
Axis interval is auto calculated and depends on multiple factors like the range of the axis, width of the chart, etc. To have a fixed interval, you can set interval along with intervalType (incase of date-time axis).
You must be logged in to reply to this topic.