Home Forums Chart Support data xValueFormatString and unixtimestamp

data xValueFormatString and unixtimestamp

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

    I have a graph for which the x axis is a Date object derived from a unix timestamp. Everything is working correctly. When I mouse over a point in the graph it shows a little panel with the timestamp in the format format specified by xValueFormatString (“hh:mm:ss TT”) on the first line and the Y value on the graph on the lines below.

    Would it be possible in the little window to show in addition to the datetime in format “hh:mm:ss TT” to also show the unix timestamp for the data point?

    #25543

    @igfarm,

    You can use contentFormatter to customize the content of toolTip to show date-time in the desired format along with timestamp.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.