Home Forums Chart Support X- axis Interval

X- axis Interval

Viewing 2 posts - 1 through 2 (of 2 total)
  • #13550

    I made a dynamical graph. It starts with 1 value on x-axis and and will have 30+ values by the end if i set the x-axis interval=1 It getting messy on x-axis label. And when i change interval programmatically it look good but I also have zoom functionality. When I zoom in I won’t be able to see the other tick value like (1,2,3,4,…) instead of (1,4,7,10…). Is there a solution that can solve my problem.

    #13554

    @Uday,

    You can use viewportMinimum, viewportMaximum and rangeChanging event to change interval based on zoom level. Please check this jsfiddle.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.