Chartjs-When using chart.js to draw a line chart, if the peak is between two x values instead of "at a x value"

0👍

const labels = [0, '', '', '', 10, '', '', '', 20, '', '', '', 30, '', '', '', 40, '', '', '', 50];

Set the X labels this way; it will work.

Leave a comment