3👍
✅
You can use the following code: chartInstance.scales.x.getPixelForValue(chart instance.data.labels[labelIndex]
Source:stackexchange.com