In mine chart i have few values. It positioning perfectly!
but once user disabled all of the values except one - label jumps to the edge of the series, not to the center of it
on this screenshot series 12-18, 19,24, 25-40 and 65+ has 0es. and oly 41-64 has value (10)
In mine chart i have few values. It positioning perfectly! but once user disabled all of the values except one - label jumps to the edge of the series, not to the center of it
on this screenshot series 12-18, 19,24, 25-40 and 65+ has 0es. and oly 41-64 has value (10)
Plugin setup is
datalabels: { display: true, color: '#fff', font: { weight: 500, size: 15, family: 'Poppins', }, anchor: 'center', formatter: (value: number) => { return value || ''; }, },