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

How to display percentage number on top of arc aka. the pie chart? #569

Open
tomriddle1234 opened this issue Jun 4, 2024 · 2 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers graphic-walker belong to Graphic Walker project P2 will be fixed in two weeks

Comments

@tomriddle1234
Copy link

now, there isn't such function yet? also, is there any way to annotate numbers on any chart generated?
so that pygwalker at current stage is for prototyping?

@tomriddle1234
Copy link
Author

I did some research, found that pygwalker can export vega code, so, by manipulating vega code, one can properly reformat the charts.

for example, my pip installed pygwalker doesn't support order in arc chart, but by adding this line,

"order": {"field": "value", "type": "quantitative", "sort": "descending"},

the pie chart would be ordered.

@longxiaofei longxiaofei added good first issue Good for newcomers graphic-walker belong to Graphic Walker project enhancement New feature or request P2 will be fixed in two weeks labels Jun 5, 2024
@longxiaofei
Copy link
Contributor

Thanks for your feedback, Kanaries team will support these features within two weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers graphic-walker belong to Graphic Walker project P2 will be fixed in two weeks
Projects
None yet
Development

No branches or pull requests

2 participants