[Chartjs]-Chart.js – Line charts: draw points between grid lines

1👍

The position x (either with or without offset) for the Line points are calculated only on the basis of dataset length

 var includeOffset = (labels.length === 1 || dataset.data.length === 1) || me.chart.isCombo;
 x = xScale.getPixelForValue(typeof value === 'object' ? value : NaN, index, datasetIndex, includeOffset); 

So the includeOffset decides the position of the line points to be in middle or left for the region and no way to configure it.

Leave a comment