Revert "Added fix for timeseries chart showing hidden yAxis"
This reverts commit 1bea76a774eea6c42f606d70b1c6ee741310739d.
This commit is contained in:
parent
1b34617506
commit
f07ce1d381
@ -112,9 +112,6 @@ export class TimeSeriesChartWidgetComponent implements OnInit, OnDestroy, AfterV
|
||||
legendKey.dataKey.settings = mergeDeep<TimeSeriesChartKeySettings>({} as TimeSeriesChartKeySettings,
|
||||
timeSeriesChartKeyDefaultSettings, legendKey.dataKey.settings);
|
||||
legendKey.dataKey.hidden = legendKey.dataKey.settings.dataHiddenByDefault;
|
||||
if (this.settings.yAxes[legendKey.dataKey.settings.yAxisId]) {
|
||||
this.settings.yAxes[legendKey.dataKey.settings.yAxisId].show = !legendKey.dataKey.settings.dataHiddenByDefault;
|
||||
}
|
||||
});
|
||||
this.legendKeys = this.legendKeys.filter(legendKey => legendKey.dataKey.settings.showInLegend);
|
||||
if (!this.legendKeys.length) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user