-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add margin-left on pie chart legend #10280
Labels
Comments
Please tell how to do this? |
I have the same need, I tried this tutorial: https://www.youtube.com/watch?v=87rnMzENg3U, but looks it doesn't works on >= 3.7 |
Please add full padding support to legend and legend items. Very much needed. |
Please add support. It's a basic/fundamental need that I need often, especially for line and scatter with legend on left/right. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
How do I add a left-margin to the legend and shift it to a little right side, as shown in the image below.
![image](https://user-images.githubusercontent.com/67872867/161484329-54f0a3ed-0b11-4bd9-b786-a8f39c40fb43.png)
Current behavior
There is a lot of gap between pie chart and legend
Reproducible sample
https://jsfiddle.net/h9rn7mL2/
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v3.7.1
Browser name and version
No response
Link to your project
No response
The text was updated successfully, but these errors were encountered: