You must be logged in to post your query.
Home › Forums › Chart Support › React – x aisx valueFormatString
Possible have dynamic valueFormatString on x-axis?
Let say my x-axis is show dateTime, by default the data show 3 years result so it format to YYYY/MMM/DD HH:mm. Then when user zoom the chart, if the result is within 1 year, then it will show MMM/DD HH:mm without YYYY.
You can update valueFormatString on zooming with the help of rangeChanging event to achieve your requirement. Please take a look at this JSFiddle for an example on the same.
You must be logged in to reply to this topic. Login/Register