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 2 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26745

    Hello,

    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?

    http://prnt.sc/p4oo4x

    #26764

    @trifectait,

    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).

    __________
    Indranil Deo
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.