You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/06/28 20:10:43 UTC

[incubator-streampipes] 01/03: [hotfix][data-explorer] Use selected background color in time series chart

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git

commit 604177d2a0449fd1082c898756d90421101feb6b
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Tue Jun 28 21:23:08 2022 +0200

    [hotfix][data-explorer] Use selected background color in time series chart
---
 .../widgets/time-series-chart/time-series-chart-widget.component.ts    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ui/src/app/data-explorer/components/widgets/time-series-chart/time-series-chart-widget.component.ts b/ui/src/app/data-explorer/components/widgets/time-series-chart/time-series-chart-widget.component.ts
index b284fff5c..4bf0de90b 100644
--- a/ui/src/app/data-explorer/components/widgets/time-series-chart/time-series-chart-widget.component.ts
+++ b/ui/src/app/data-explorer/components/widgets/time-series-chart/time-series-chart-widget.component.ts
@@ -104,7 +104,8 @@ export class TimeSeriesChartWidgetComponent extends BaseDataExplorerWidgetDirect
       y: 1.3,
       yanchor: 'top',
       font: { color: this.dataExplorerWidget.baseAppearanceConfig.textColor },
-      bgcolor: this.dataExplorerWidget.baseAppearanceConfig.backgroundColor,
+      plot_bgcolor: this.dataExplorerWidget.baseAppearanceConfig.backgroundColor,
+      paper_bgcolor: this.dataExplorerWidget.baseAppearanceConfig.backgroundColor,
       bordercolor: '#000'
     }];