Home Forums Chart Support formatting time x-axis

formatting time x-axis

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

    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?



    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

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

You must be logged in to reply to this topic.