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
PetyaPetya 

Dashboard chart in visualforce page iFrame

Hello

I would like to add to my account page some dashboard charts. I defined a visualforce page and I added the image src of a dashboard chart to my visualforce page. I would like to add another 2 additional charts, but I don’t know how to add them in parallel... Now they are all vertical among each other.

<apex:page standardController="Account">
  <apex:iframe src="https://cs7.salesforce.com/servlet/servlet.ChartServer?rsid=0FLM00000009w5D&ruid=00520000001Aiue&did=01Z20000000LSSY&s=8&fs=12&tfg=12&tfs=-16777216&explode=0&c=column&cs=2&title..." height="450" frameborder="false"/>
  <apex:iframe src="https://cs7.salesforce.com/servlet/servlet.ChartServer?rsid=0FLM00000009w7C&ruid=00520000001Aiue&did=01Z20000000LSSY&s=8&fs=12&tfg=12&tfs=-16777216&explode=0&c=column&cs=0&title..." height="450" frameborder="false"/>

</apex:page>

Second question, if I wish to make the chart account specific, perhaps I need to clone my reports and add a filter for parameter pv0 and add them to another new dashboard. So I could use their img src and I would have the account specific chart. Is that correct? Or I need to use something like that and linkt  direct to my report with filter?

<apex:page standardController="Account">
        <c:ReportChart reportId="00Oi0000000SeCQ" pv0="{!Account.Name}" />
</apex:page>

 However I dont understand the second line "

<c:ReportChart...
 


Any ideas?

ArnoldFBArnoldFB

Well, I'm no coding expert, but working from an html standard, create a table and put your charts in the colums you create.