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

Rotation fine control with position

Open mmarras opened this issue 3 months ago • 0 comments

Hello,

coming from tikz, I am missing the fine contol to specify the origin of the label rotation or position to work on the rotated label.

At the moment 3.1.0, position and rotation do not work together (in the sense they don't know of each other).

Position works on the un-rotated label and rotation only happens around the center of the label.

Either, we need an option to specify the center of rotation of the label, i.e., all 8 nearest-neighbors connectors (top left, top center, top right, left center,...) + center.

Or we need position to actually work on the rotated label, otherwise a rotated label is impossible to align well (manual approaches are not good for responsiveness).

mmarras avatar Aug 20 '25 09:08 mmarras