Sign in to follow this  
Guest Rajroop

VB-6 Pie Charts and percentages

Recommended Posts

We could do this in VB code, but the point here is that most of the pie charts that we need would be expressed in percentages and not the original input dollar amounts.

This feature request is to create a functio that will allow the programmer to set the Pie Chart values to display as:

  Labels on or Off

  Dollar amounts on or Off

  Percentages on or Off

a function parameter like this might be PieLabelsAs(On, On, On) where each of the parameters represents Labels, Dollars and Percentages.

The percentages should be calculated by the control from the amounts.

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Thank you for your suggestions and your interest in FusionCharts. :)

 

 

 

The percentage values are shown with the input values in the Pie charts by using <chart..showPercentageValues='1' ..&gt in the XML.

 

 

 

Using numberPrefix attribute in the XML, the dollar sign may be set to the value.

 

 

 

The labels may be turned on and off by using the <chart... showLabels='1' ...&gt attribute.

 

 

 

I hope this helps.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this