Home › forums › Feature Requests & Feedback › how to get chart.axisX.convertValueToPixel with Date axis?
Tagged: convertValueToPixel, date axis
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.