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

Rotate datalabel around anchor point

Open bionicoz opened this issue 6 years ago • 2 comments

Is there any way to achieve this? I have labels in a scatter chart with variable length. Rotating them around their centers causes misalignment that can be fixed if I rotate them around their anchor points fireshot capture 6 - vdatrailers live map - http___localhost_8080_out2018_map fireshot capture 7 - vdatrailers live map - http___localhost_8080_out2018_map Alternatively, can I move horizontally each datalabel for a fixed or scriptable amount? The offset property move them only vertically.

bionicoz avatar Aug 23 '18 10:08 bionicoz

We need this feature too. Is it possible now?

escribanoruben avatar Apr 22 '21 12:04 escribanoruben

Ok. This is implemented.

rotation: '-45',
align: '-45'

escribanoruben avatar Apr 22 '21 12:04 escribanoruben