Home forums Chart Support Change x value format on zoom

Tagged: ,

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

    Hello, is it possible to change the format of the x value when zoomed? For example, I’d like a timestamp to show year-month-day on default, and then year-month-day hour-min when zoom is used.



    With the help of rangeChanging event, you can update the interval, intervalType, valueFormatString, etc. of axisX based on the zoom level. Please refer to this JSFiddle for an example on the same.

    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.