UI: Doughnut widget disabled setting legendShowTotal in total Layout
This commit is contained in:
parent
ee0cd6c31c
commit
8e8b5507ee
@ -86,9 +86,11 @@ export class DoughnutBasicConfigComponent extends LatestChartBasicConfigComponen
|
||||
if (totalEnabled) {
|
||||
latestChartWidgetConfigForm.get('totalValueFont').enable();
|
||||
latestChartWidgetConfigForm.get('totalValueColor').enable();
|
||||
latestChartWidgetConfigForm.get('legendShowTotal').disable();
|
||||
} else {
|
||||
latestChartWidgetConfigForm.get('totalValueFont').disable();
|
||||
latestChartWidgetConfigForm.get('totalValueColor').disable();
|
||||
latestChartWidgetConfigForm.get('legendShowTotal').enable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,9 +69,11 @@ export class DoughnutWidgetSettingsComponent extends LatestChartWidgetSettingsCo
|
||||
if (totalEnabled) {
|
||||
latestChartWidgetSettingsForm.get('totalValueFont').enable();
|
||||
latestChartWidgetSettingsForm.get('totalValueColor').enable();
|
||||
latestChartWidgetSettingsForm.get('legendShowTotal').disable();
|
||||
} else {
|
||||
latestChartWidgetSettingsForm.get('totalValueFont').disable();
|
||||
latestChartWidgetSettingsForm.get('totalValueColor').disable();
|
||||
latestChartWidgetSettingsForm.get('legendShowTotal').enable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user