Home › forums › Feature Requests & Feedback › how to get chart.axisX.convertValueToPixel with Date axis?
Tagged: convertValueToPixel, date axis
This topic contains 2 replies, has 2 voices, and was last updated by quynhtd 8 months ago.
In this topic, how to use chart.axisX.convertValueToPixel function with Date axis?
You can pass x-value in timestamp (either by passing timestamp in milliseconds directly or using getTime()) to convertValueToPixel in order to get the pixel coordinate of a given value over dateTime axis.
Please check this jsfiddle.
OK, i used old version so it didn’t work. It’s ok now. Thanks man!
You must be logged in to reply to this topic.