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

Add an option to display both absolute and percentage values in pie chart #84

Open
MegaChriz opened this issue Oct 26, 2022 · 0 comments

Comments

@MegaChriz
Copy link

When you want to draw a pie chart, you have the option to display absolute or percentage values on the chart.

  • For displaying a value as absolute you set $Format['WriteValues'] to PIE_VALUE_NATURAL;
  • For displaying a value as percentage you set $Format['WriteValues'] to PIE_VALUE_PERCENTAGE;

I'd like to add an option to display both absolute and percentage values on the chart. I propose to display this as follows:

4
(20%)

I propose to set $Format['WriteValues'] to PIE_VALUE_BOTH when you want both absolute and percentage values to be displayed.

I will create a pull request shortly.

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

1 participant