context-dashboard/dashboard-detail.service.ts
Properties |
|
Methods |
constructor(fb: FormBuilder, translateService: TranslateService)
|
|||||||||
Parameters :
|
initAppearanceSettingsForm | ||||||||
initAppearanceSettingsForm(dashboard: ContextDashboard)
|
||||||||
Creates form group for appearance settings of dashboard.
Parameters :
Returns :
FormGroup
Dashboard appearance settings form |
initForm | ||||||||||||||||
initForm(dashboard: ContextDashboard, isReport: boolean, allowTypeDashboard: AllowTypeDashboard)
|
||||||||||||||||
Creates dashboard details form divided into two groups- general settings and appearance settings.
Parameters :
Returns :
FormGroup
Dashboard details form |
initGeneralSettingsForm | ||||||||||||||||
initGeneralSettingsForm(dashboard: ContextDashboard, isReport: boolean, allowTypeDashboard: AllowTypeDashboard)
|
||||||||||||||||
Creates form group for general settings of dashboard.
Parameters :
Returns :
FormGroup
Dashboard general settings form |
Readonly DEFAULT_DASHBOARD_ICON |
Type : string
|
Default value : 'th'
|
Readonly DEFAULT_DASHBOARD_MARGIN |
Type : number
|
Default value : 12
|
Readonly DEFAULT_DASHBOARD_PRIORITY |
Type : number
|
Default value : 5000
|
styling |
Type : object
|
Default value : {
themeClass: 'dashboard-theme-light',
headerClass: 'panel-title-regular'
}
|