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

Regular dashboard Question

Is there a way to embed a regular dashboard in our custom lightning component ?

As of now the only way to add dashboard is to create a new lighting app and drag the dashboard component to the widget and then manually select the dashboard which we want to display on the lightning app. 

I want to add the same dashboard by using the dashboard id in my custom lightning component. You can't use iframe because the dashboard exist in same domain and hence we get 'same-origin policy' error. Any ideas ?. 
Raj VakatiRaj Vakati
I don't think so. You need to build the lightning component by using any charting JS libraries like D3.js or Charts.js and etc