chartjs / chartjs/chartjs-plugin-datalabels

Rotate datalabel around anchor point

Open
#84 2 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
920
Forks
507
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/1201406/44521042-11656200-a6d2-11e8-9538-5518d06dbd2d.png)
![fireshot capture 7 - vdatrailers live map - http___localhost_8080_out2018_map](https://user-images.githubusercontent.com/1201406/44521163-791bad00-a6d2-11e8-8a0e-4577a3e8b0f4.png)
Alternatively, can I move horizontally each datalabel for a fixed or scriptable amount? The offset property move them only vertically.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.