ltan10
4 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
|