You must be logged in to post your query.
Home › Forums › Chart Support › formatting time x-axis
Tagged: x-axis time formatting
I have a problem to format the time (x) axis. I do this to define the chart: valueFormatString: “##,##,##,##” I also tried other ways like “DD hh mm ss” but nothing seems to work.
I deliver this as time information: return dd + ‘,’ + hh + ‘,’ + mm + ‘,’ + ss; I also tried with DD:hh:mm:ss but again, nothing works. The examples all seem to work for years and months, but not for realtime data. Is there a solution?
@ben-haestqed-lu,
valueFormatString seems to be working fine with date and time components. Can you kindly create a JSFiddle reproducing the issue you are facing and share it with us, so that we can look into the code and chart-options being used, understand the scenario better and help you out?
— Ananya Deka, Team CanvasJS
You must be logged in to reply to this topic. Login/Register