Open joel-wenzel opened 1 year ago
When setting grid: {show: false} and chart type: 'bar', any annotation label backgrounds do not align with the label text.
grid: {show: false}
type: 'bar'
See repro link below (no changes needed as problem is immediately visible)
Annotation label text should align with the label background
They are offset by a few pixels. (maybe the width of the bar columns)
https://codepen.io/joel-wenzel/pen/QWrQqeZ?editors=0010
Just in case for others: the following grid settings work around it
grid: { show: true, borderColor: '#00000000' },
Description
When setting
grid: {show: false}
and charttype: 'bar'
, any annotation label backgrounds do not align with the label text.Steps to Reproduce
See repro link below (no changes needed as problem is immediately visible)
Expected Behavior
Annotation label text should align with the label background
Actual Behavior
They are offset by a few pixels. (maybe the width of the bar columns)
Screenshots
Reproduction Link
https://codepen.io/joel-wenzel/pen/QWrQqeZ?editors=0010