sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

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

  • AfterViewInit
  • OnChanges
  • OnDestroy

Constructors

constructor

new DashboardByIdComponent(sisenseContextService, themeService): DashboardByIdComponent

Constructor for the DashboardById component.

Parameters

ParameterTypeDescription
sisenseContextServiceSisenseContextServiceSisense context service
themeServiceThemeServiceTheme service

Returns

DashboardByIdComponent

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.

Last Updated: