Jump to content
Software FX Community

Pie chart percentage


W.D
 Share

Recommended Posts

Hi,

I'm trying to create a pie chart with UserLengendBox. The values I passed to the chart are dollar values. I tried to sum all values to a total value and then divide each value by total value to calculate percentage. But I found these values are not exactly add up to 100.0%. There's rounding, so it always add up to 99.9% or 100.1%.

I know I can make point lables mask as "%p" to let ChartFX to calculate the percentage values. How can i use ChartFX's this function to get percentage without showing the point lables?

 Thanks.

 W.D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...