-
Notifications
You must be signed in to change notification settings - Fork 464
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
Pie chart labels at start or end of arc instead of center #93
Comments
I have this same problem using a doughnut extension as a gauge. For a gauge it doesn't make sense for the labels to be around the centre of the segments. If the labels could follow the direction of a segment that'd be great and we could have much more control over their position |
I know this is old but I thought I'd add this in case it helps anyone. I made this for myself so you might have to modify some stuff and I had trouble getting the code to format properly on here but here it is:
|
Hi it has been 3 years since this was suggested |
Take a look at my solution in stackoverflow: |
I'd like another parameter other than
align
andanchor
to be used for label placement on pie/doughnut charts along the arc. I'm not sure what to call it, butarcPos
might be good.I'd like it to be a value between 0.0 and 1.0 where 0.0 is the beginning of the arc, and 1.0 is the end of the arc. The label placement for pie and doughnut charts currently is stuck at an
arcPos
of 0.5.Even if you wanted to stick to the scheme of
"begin"
,"center"
, or"end"
, I'd be fine with that, but having a value of 0.0 to 1.0 is more flexible.The text was updated successfully, but these errors were encountered: