Class DashboardByIdComponent Fusion Embed
An Angular component used for easily rendering a dashboard by its ID created in a Sisense Fusion instance.
Note: Dashboard and Widget extensions based on JS scripts and add-ons in Fusion – for example, Blox and Jump To Dashboard – are not supported.
Example
import { Component } from '@angular/core';
@Component({
selector: 'code-example',
template: `
<div style="width: 100vw;">
`<csdk-dashboard-by-id *ngIf="dashboardOid" [dashboardOid]="dashboardOid" />`
</div>
`,
})
export class CodeExampleComponent {
dashboardOid = 'your-dashboard-oid';
}
To learn more about this and related dashboard components, see Embedded Dashboards.
Implements
AfterViewInitOnChangesOnDestroy
Constructors
constructor
new DashboardByIdComponent(
sisenseContextService,themeService):DashboardByIdComponent
Constructor for the DashboardById component.
Parameters
| Parameter | Type | Description |
|---|---|---|
sisenseContextService | SisenseContextService | Sisense context service |
themeService | ThemeService | Theme service |
Returns
Properties
Constructor
sisenseContextService
sisenseContextService:
SisenseContextService
Sisense context service
themeService
themeService:
ThemeService
Theme service
Other
config
config:
DashboardByIdConfig|undefined
The configuration for the dashboard
dashboardOid
dashboardOid:
string
The OID of the dashboard to render.