rohit111111

Showing both percentage and value in Pie chart

Recommended Posts

Or, Can we show both percent and value in label instead of tooltip?

 

Example:

 

1, 20

 

2, 40

 

....

 

Currently it is showing : Name, 10%

Edited by rohit111111

Share this post


Link to post
Share on other sites
Guest Sumedh

Hello Rohit,

 

To display custom tooltext for Pie slices, you can make use of toolText attribute at individual <set> element.

 

Ref. Code:

<set label='Services' value='26' toolText='1, 20'/>
<set label='Hardware' value='32' toolText='2, 40'/>

 

For more information, please refer the following links:

http://docs.fusioncharts.com/charts/contents/?AttDesc/ToolTip.html

 

http://docs.fusioncharts.com/charts/contents/?ChartSS/Pie2D.html

 

Hope this helps!

Share this post


Link to post
Share on other sites

I don't want to show custom text, just want to show the value according to which pie chart showing it as percentage.

So, the value which are coming and percentage for this value, I want to show in tooltip or, in label.

 

Thanks,

Share this post


Link to post
Share on other sites
Guest Sumedh

Hello Rohit,

 

There is no other attribute to display number and percentage values in the tooltip.

 

For displaying simple value and percentage value at same time in tooltip, you would need to use toolText attribute.

 

Hope this helps!

Share this post


Link to post
Share on other sites

So, for displaying custom text where we get the percentage which is generated by chart automatically by passing value when it renders?

 

Thanks,

Rohit

Edited by rohit111111

Share this post


Link to post
Share on other sites
Guest Sumedh

Hello Rohit,

 

For displaying values and percentage values in toolTip, you would need to calculate according and you have to specify in the toolText attribute.

 

FusionCharts XT can be easily and extensively used to create drilldown charts.

 

All the charts (except for Zoom line chart) in FusionCharts XT suite support drilldown for data elements that is, in each chart type, the data plot of that chart (columns in Column Charts, Pie slices in Pie Charts etc.) can act as hot-spots for the chart.

 

Using the drilldown functionality provided by FusionCharts XT, you can easily produce charts that enact "drilldown" or "zoom in (data)" capabilities. Moreover, you can make the whole chart as a hot-spot for drilldown.

 

For more information, please refer the following links:

http://docs.fusioncharts.com/charts/contents/?DrillDown/Simple.html

 

http://docs.fusioncharts.com/charts/contents/?DrillDown/LinkedCharts.html

 

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