From ee0ada1a310f4761c4cde37a304c033f66011bb0 Mon Sep 17 00:00:00 2001 From: "Mr.Dr.Professor Patrick" Date: Wed, 20 Dec 2023 13:32:55 +0100 Subject: [PATCH] feat(D3 plugin): disable inactive styles by default (#367) --- .../d3/renderer/constants/defaults/series-options.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugins/d3/renderer/constants/defaults/series-options.ts b/src/plugins/d3/renderer/constants/defaults/series-options.ts index 77eecc7b..e1d7b907 100644 --- a/src/plugins/d3/renderer/constants/defaults/series-options.ts +++ b/src/plugins/d3/renderer/constants/defaults/series-options.ts @@ -23,7 +23,7 @@ export const seriesOptionsDefaults: SeriesOptionsDefaults = { brightness: 0.3, }, inactive: { - enabled: true, + enabled: false, opacity: 0.5, }, }, @@ -38,7 +38,7 @@ export const seriesOptionsDefaults: SeriesOptionsDefaults = { brightness: 0.3, }, inactive: { - enabled: true, + enabled: false, opacity: 0.5, }, }, @@ -50,7 +50,7 @@ export const seriesOptionsDefaults: SeriesOptionsDefaults = { brightness: 0.3, }, inactive: { - enabled: true, + enabled: false, opacity: 0.5, }, }, @@ -62,7 +62,7 @@ export const seriesOptionsDefaults: SeriesOptionsDefaults = { brightness: 0.3, }, inactive: { - enabled: true, + enabled: false, opacity: 0.5, }, }, @@ -74,7 +74,7 @@ export const seriesOptionsDefaults: SeriesOptionsDefaults = { brightness: 0.3, }, inactive: { - enabled: true, + enabled: false, opacity: 0.5, }, }, @@ -86,7 +86,7 @@ export const seriesOptionsDefaults: SeriesOptionsDefaults = { brightness: 0.3, }, inactive: { - enabled: true, + enabled: false, opacity: 0.5, }, },