Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Group a line dataset in a group of bars

Open liondog opened this issue 3 years ago • 0 comments

Feature Proposal

As of now it is not possible to combine a group of bars together with a line (organ dots) that provides values corresponding to the same amount of bars in the group to be able to achieve the following result:

image

The limitation is that when grouping bars the inner bar distance is shrinked by default. However this won't apply to the line dataset.

One approach could be to use two separate x-axes. However, with this solution the dots appear misaligned as they're not treated as the bars inside the group. Compare with https://jsfiddle.net/onesev/bpcLs7uz/

Possible Implementation

No response

liondog avatar Oct 06 '22 12:10 liondog