You must be logged in to post your query.
Home › Forums › Chart Support › data xValueFormatString and unixtimestamp
Tagged: timestamp xValueFormatString
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?
@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
You must be logged in to reply to this topic. Login/Register