My VisualForce Page Test Code for displaying dashboard -
Code Snippet - Used (Apex:Iframe)
After Clicking on Preview Button In Apex Page-
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
It seems you are trying to embed a Salesforce public site into Visualforce page. To allow the embed you need to perform some setup:
In case you are trying to do the reverse, you may want to look for "Clickjack Settings"