Chart.js 2.2.x – How to access the pixel coordinate of a point in my dataset

1πŸ‘

βœ…

The plugin is called multiple times, I was debugging only the initial values for the coordinates. Turns out the last calls were made with the correct value for X (44.67). I think this was happening because initially the canvas containing the chart was hidden (using ng-hide), only after init it was being shown.

It was rendered correctly though.

Leave a comment