Label callout annotation starting point #687
-
Beta Was this translation helpful? Give feedback.
Answered by
stockiNail
Feb 22, 2022
Replies: 1 comment 1 reply
-
@MatHook the callout element has got the You can set the number (pixel) or in percentage (as string). https://www.chartjs.org/chartjs-plugin-annotation/latest/guide/types/label.html#callout In our cases, you could set the option |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MatHook
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@MatHook the callout element has got the
start
option where you can decide the position where the callout start from the side of the label.You can set the number (pixel) or in percentage (as string). https://www.chartjs.org/chartjs-plugin-annotation/latest/guide/types/label.html#callout
In our cases, you could set the option
position
tobottom
and setstart
to '0%'.I'm going to prepare a codepen to show that.