0👍
actually I found a workaround
var xAxis = bubbleChart.scales['x'];
var yAxis = bubbleChart.scales['y'];
pointx = xAxis.getPixelForValue(bubbleChart.data.datasets[i].data[0].x)
pointy = yAxis.getPixelForValue(bubbleChart.data.datasets[i].data[0].y)
- Chartjs-How to sum value by month and assign two different variables?
- Chartjs-ChartJS creating var takes each character and outputs undefined
Source:stackexchange.com