|
|
@ -159,6 +159,8 @@ export class WidgetConfigComponent extends PageComponent implements OnInit, Cont |
|
|
|
|
|
|
|
|
modelValue: WidgetConfigComponentData; |
|
|
modelValue: WidgetConfigComponentData; |
|
|
|
|
|
|
|
|
|
|
|
showLegendFieldset = true; |
|
|
|
|
|
|
|
|
private propagateChange = null; |
|
|
private propagateChange = null; |
|
|
|
|
|
|
|
|
public dataSettings: FormGroup; |
|
|
public dataSettings: FormGroup; |
|
|
@ -322,6 +324,8 @@ export class WidgetConfigComponent extends PageComponent implements OnInit, Cont |
|
|
this.datasourceTypes.push(DatasourceType.entityCount); |
|
|
this.datasourceTypes.push(DatasourceType.entityCount); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
this.showLegendFieldset = (this.widgetType === widgetType.timeseries || this.widgetType === widgetType.latest); |
|
|
|
|
|
|
|
|
this.dataSettings = this.fb.group({}); |
|
|
this.dataSettings = this.fb.group({}); |
|
|
this.targetDeviceSettings = this.fb.group({}); |
|
|
this.targetDeviceSettings = this.fb.group({}); |
|
|
this.alarmSourceSettings = this.fb.group({}); |
|
|
this.alarmSourceSettings = this.fb.group({}); |
|
|
|