chartjs-plugin-annotation icon indicating copy to clipboard operation
chartjs-plugin-annotation copied to clipboard

Annotations labels overlapping

Open girardHU opened this issue 4 years ago • 2 comments

Sorry if this is a duplicate but I cannot seem to find something related to my issue. I would like to know if there is a way for one of the label to be automatically displayed a little lower if they overlap ? Or not displayed at all maybe ?

Thanks,

image

girardHU avatar Sep 20 '21 13:09 girardHU

Currently not possible automatically, so labeling as enhancement

kurkle avatar Sep 22 '21 19:09 kurkle

@girardHU as @kurkle has written, this feature is still not present. Neverthelss, leveraging on yAdjust and xAdjust on the label, you can change the position of the label, avoiding overlapping. Could be a workaround, waiting for new feature.

See here an example: https://codepen.io/stockinail/pen/WNOKmbK

stockiNail avatar Sep 23 '21 07:09 stockiNail