You must be logged in to post your query.
Home › Forums › Chart Support › Change x value format on zoom
Tagged: xvalueformat, zoom
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.
@joshuasosa,
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
You must be logged in to reply to this topic. Login/Register