function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Neta OrlovskiNeta Orlovski 

Add percentage to a Visualforce pie chart

Hi,
I've created a pie chart with Visualforce. Is there a way to show each wedge's percentage?
Best Answer chosen by Neta Orlovski
Neta OrlovskiNeta Orlovski
Eventually I calculated the percentage myself and displayed it with chartTips:

apex:chartTips height="20" width="120" valueField="xxxPercent"

All Answers

Swayam  AroraSwayam Arora
Go to formatting and check Show Wedge %
User-added image

Please close the thread marking this answer as Best Answer if it really helped. Closing the thread help others finding the correct answer.
 
Neta OrlovskiNeta Orlovski
Hi, 
I meant to VF charts and not to standard SF charts.
Neta OrlovskiNeta Orlovski
Eventually I calculated the percentage myself and displayed it with chartTips:

apex:chartTips height="20" width="120" valueField="xxxPercent"
This was selected as the best answer