Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to include a Pie Chart Report in a visual Force page. I tried to use with a iFrame tag. But seems like its working .

<apex:page showHeader="false" sidebar="false"> <apex:iframe src="/01Z5B0000004w7B"/>
</apex:page>

Please let me know , how to proceed further on this.

Thank you.

share|improve this question
up vote 6 down vote accepted

You can use analytics:reportChart instead.

<apex:page> 
  <analytics:reportChart reportId="01Z5B0000004w7B" >
  </analytics:reportChart>
</apex:page>

analytics:reportChart

Use this component to add Salesforce report charts to a Visualforce page. You can filter chart data to show specific results. The component is available in API version 29.0 or later.

Before you add a report chart, check that the source report has a chart in Salesforce app.

share|improve this answer
    
Hi Shailesh, Thanks for the reply. One query. I am getting the report with the footer text like " As of Today at 1:​33 AM NS_ERROR_FAILURE: " . How to get rid off this. I am not getting an attribute for this. Please let me know. Thanks in Advance. – Reshmi Smiju yesterday
    
@ReshmiSmiju - I am not completely sure if this is related to your report. If you can elaborate or update the question with your code, I would be able to help on this. – Shailesh Deshpande yesterday

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.