chartjs / chartjs/Chart.js

Padding left or right between labels inside legend

Open
#11,658 0 comments 3 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Feature Proposal

There should be an option to create padding left or right inside the labels of the legend. Right now theres one `padding` option inside `legend: { labels }` which creates padding around the entire legend box and between the labels like
image
Instead if there was a padding right option between the labels I'd prefer it to look aligned like:
image

### Possible Implementation

_No response_

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.