[SalesForce] VF pie chart display percentage

I've created a pie chart in a Visualforce page. Is there a way to show each wedge's percentage?

Best Answer

There is labelfield in piechart which you can use to show percentage label or any other information.

<apex:pieSeries tips="true" dataField="piedata" labelField="name"/> 

name is the wrapper class variable referenced to show count/text for each chart.

Alternatively you can use <apex:chartTips/>

 <apex:chartTips height="20" width="120"/>
Related Topic