chartjs / chartjs/chartjs-plugin-annotation

Rotation fine control with position

Open
#981 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
623
Forks
377
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.