Closed elitastic closed 2 years ago
@elitastic textAlign
is used only when the content is an array (multiline text) to define the alignment of all rows.
What you need here is the position
option. Try position: 'start'
, it should work.
@elitastic I forgot... have a look to the doc: https://www.chartjs.org/chartjs-plugin-annotation/latest/guide/types/label.html#position
Thank you very much for your great support.
textAlign: 'start'
is probably broken. Shouldn't this label annotation be left aligned on the zero x axis? Many thanks in advance for a short feedback.https://codepen.io/elitastic/pen/JjLGmeY