chartjs / chartjs/chartjs-plugin-datalabels

Can we right align the labels in a bar chart?

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

Description

My client wishes for the labels to me right align the labels so they are 50% over the right side of the vertical bars.

Roughly this:
![image](https://user-images.githubusercontent.com/709773/72583485-56cfa280-394b-11ea-9010-d4a7da40fcc1.png)

I've got it working roughly by using offset and a rather hacky method of calculating it,
But I was hoping there is a more standard method built in already using the positioning?

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.