Hi,
My x values are msec since epoch and I wish display it on x-axis and tooltip like hh:mm for instance with a function like this:
And with a chart configuration like this:
Unfortunately I'm not able to retrieve the x value. The '{0}' joker may not be useful in such case. Has someone any idea how perform this task and even is it possible?
Thanks
Yvan
My x values are msec since epoch and I wish display it on x-axis and tooltip like hh:mm for instance with a function like this:
function parseDateTime(epoch){ var date = new Date(epoch); return date.getHours() + ':' + date.getMinutes();}And with a chart configuration like this:
//...tooltip: { visible: true, format: "{1:N2} m3 @ " + parseDateTime(xValue),}//...Unfortunately I'm not able to retrieve the x value. The '{0}' joker may not be useful in such case. Has someone any idea how perform this task and even is it possible?
Thanks
Yvan