How to show report chart in Visualforce page?

How to show report chart in Visualforce page?

analytics:reportChart can be used to embed report chart or show report chart or display report chart in a Salesforce Visualforce Page.

Please check the following sample code for reference.

Sample code:

<apex:page sidebar="false" >
     <analytics:reportChart 
		ReportId="00OU0000001pO02" 
		showRefreshButton="true" 
		size="huge" 
		cacheResults="false" />
</apex:page>

Output:

Leave a Reply