Plot issue in graph on click event
Expected behavior
Wherever I send values in Datasets, on onclick event, through any Boot Boots, the graph should be plotted there in the Datasets in both x axis and y axis accordingly.
Current behavior
Whenever I try to plot a graph value at my desired point on a click event, it gets plotted on the y-axis only but not on the x-axis. datasets: [{ label: 'Patient Responses', data: [{x: 500, y: 20}, {x: 250, y: 40}, {x: 1000, y: 10}] , backgroundColor: backgroundColor, borderColor: borderColor, borderWidth: 2, pointRadius: 10, pointHoverRadius: 8, borderDash: [], fill: false, }]
Reproducible sample
My script CDN is also updated
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
4.4.3
Browser name and version
Chrome and 127.0.6533.89 (Official Build) (64-bit)
Link to your project
Local on server of project
Please add a reproducible sample, as required by the issue template
Closing as per my above comment, if you have a reproducible sample we can take a look at it