Skip to content

Label callout annotation starting point #687

Answered by stockiNail
MatHook asked this question in Q&A
Discussion options

You must be logged in to vote

@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 to bottom and set start to '0%'.
I'm going to prepare a codepen to show that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@stockiNail
Comment options

Answer selected by MatHook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants