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.
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.
You must be logged in to reply to this topic.