Skip to content
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

Does PieChart support multiple columns of vertical legend? #2625

Closed
lynnleelhl opened this issue Jul 21, 2017 · 2 comments
Closed

Does PieChart support multiple columns of vertical legend? #2625

lynnleelhl opened this issue Jul 21, 2017 · 2 comments

Comments

@lynnleelhl
Copy link

I am trying to draw a pie chart like the following.
image
I want the vertical legend to break into multiple columns when there are too many labels to show, but I can only got one column.
Here's my code.

        let legend = view.legend
        legend.horizontalAlignment = .right
        legend.verticalAlignment = .center
        legend.orientation = .vertical
        legend.xEntrySpace = 0
        legend.yEntrySpace = 8
        legend.xOffset = 0
        legend.yOffset = 0
        legend.form = .circle

I wonder if there's any way to what I said, I'd be pretty appreciated if I got your kind help :)

@lynnleelhl
Copy link
Author

image
This is what I got by code posted above.

@liuxuan30
Copy link
Member

liuxuan30 commented Jul 28, 2017

I remember it does not support two column. You are welcome to contribute! reopen when you have updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants