Browse Source

Merge 11d2d628ad into 9abbcdb40a

pull/15653/merge
ltan10 4 days ago
committed by GitHub
parent
commit
a05718a599
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart-widget.component.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart-widget.component.ts

@ -121,7 +121,7 @@ export class TimeSeriesChartWidgetComponent implements OnInit, OnDestroy, AfterV
}
if (this.showLegend) {
this.horizontalLegendPosition = [LegendPosition.left, LegendPosition.right].includes(this.legendConfig.position);
this.horizontalLegendPosition = [LegendPosition.top, LegendPosition.bottom].includes(this.legendConfig.position);
this.legendClass = `legend-${this.legendConfig.position}`;
this.legendColumnTitleStyle = textStyle(this.settings.legendColumnTitleFont);
this.legendColumnTitleStyle.color = this.settings.legendColumnTitleColor;

Loading…
Cancel
Save