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
ssalesforce Yssalesforce Y 

How to display record count on the bar chart

Hi All,
I have a requirement where I need to show all the records which are up for renewal for the current and next 6 months. The report should show all the accounts which are up for renwal along with  effective date and annual premium. The chart is showing the group fields and measures on X-axis and Y-axis when we hoover on the bar chart. Need to show record count when we hoover on the chart instead of clicking the chart.
Can we show the record count along with field information on the dashboard using aura components? Is there any link or sample code I can refer. Please help me on this.

Thanks,
Sirisha
PriyaPriya (Salesforce Developers) 
Hi ,

can you please enable the checkbox show values.Then it shows the record count on the bar.
User-added image

Hope this is Helpful!

Regards,
Ranjan