Home Forums Chart Support Using CanvasJS for sensor logging

Using CanvasJS for sensor logging

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

    I am trying to use CanvasJS for sensor logging where the independent axis is the vertical axis and it is Date and Time and it goes down over time indefinitely, as seen on the machine in this link http://www.schramminc.com/wp-content/uploads/2011/08/EDR_with_field_tech.png. The problem is I cannot get it to plot Date-Time against the Y axis or set the X axis to the vertical axis. My workaround is going to be to convert the DateTime to an arbitrary integer unit and then use the label formatter to convert the label back into a Date and Time. Any other suggestions?

    #13954

    @drewmurr2,

    Date-Time support for Y-axis is not available as of now. But as you said, with the help of time-stamp and labelFormatter, you can achieve date-time over y-axis. Please check this jsfiddle.

    Another way to achieve this is by rotating the chart-container div with chart axisX as date-time and setting axisYType to secondary. Please refer this jsfiddle.


    Vishwas R

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

You must be logged in to reply to this topic.