You need to sign in to do that
Don't have an account?
analytics:reportChart in VF Page and then VF Page on Intranet
Hello!
Use Case:
I'd like to make a visual force page that holds report charts and dashboards (if dashboard are possible) so I can reference that page on our intranet that is also built on the Salesforce platform via Simpplr.
I went down the iframe route, but I don't have enough programming knowledge to get a workaround in place to allow X-Frame-Options and modern browser security.
There are many useful discussions I found, but they're often very dated so and many are often depricated.
Questions:
1. Is Sites the way to do this? And if so, has anyone found a useful guide outside the help pages?
2. The code below displays the charts I need in my VF page, but the last chart requires a horiztonal scroll. How can I get rid of the scroll? I tried using styles and classes, but didn't work or I did it wrong. Adding an attribute of width="100%" or similar doesnt work either.
<apex:page sidebar="false" showHeader="false"> <apex:panelgrid columns="4" id="theGrid" cellpadding="15" > <analytics:reportChart reportId="00O6A000006VwqFUAS"/> <analytics:reportChart reportId="00O6A000006VwqAUAS"/> <analytics:reportChart reportId="00O6A000006VwqGUAS"/> <analytics:reportChart reportId="00O6A000006VuOiUAK"/> </apex:panelgrid> </apex:page>