Support Article
How to display actual count & percentage in the chart ?
SA-6061
Summary
Developer created an interactive bar chart subtype: “100% — Stacks bars”. (Summary View)
They noticed, when the mouse cursor hovers over a line chart, a popup window appears with wrong data about the total number of tasks. (Find below snapsshots )
They want to know how to display actual count and percentage simultaneously in the graph ?
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/UserUpload_14232012168911423201217903.png)
Resolution
This issue is resolved by following the below steps:-
1.Create the SummaryView Rule. (Pic 1)
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/UserUpload_14231268718111423126872571.png)
2. Configure the interactive chart for summary view.
Choose the following settings (pic2 – pic7):
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/UserUpload_14231269104241423126910844.png)
Pic 2 : Chart configuration
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/UserUpload_14231269252241423126925994.png)
Pic 3 : Select stack
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/UserUpload_14231269384921423126939211.png)
Pic 4 : Set the data
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/UserUpload_14231269532681423126954010.png)
Pic 5 : Set values for axis.
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/UserUpload_14231269696741423126970116.png)
Pic 6: Put text to display along the axis of the chart.
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/UserUpload_14231269829951423126983742.png)
Pic 7: Set the values for Options tab.
Once we run the summary view now, we will get the below result.
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/UserUpload_14231270526841423127053730.png)
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.