chore: Removes hard-coded colors from the plugins - iteration 2 (#20006)

* chore: Removes hard-coded colors from the plugins - iteration 2

* Fixes lint errors
This commit is contained in:
Michael S. Molina
2022-05-12 10:12:17 -03:00
committed by GitHub
parent ca9766c109
commit c4c714fffb
12 changed files with 61 additions and 44 deletions

View File

@@ -75,6 +75,7 @@ export default function transformProps(
hooks,
filterState,
datasource,
theme,
} = chartProps;
const { annotation_data: annotationData_ } = queriesData[0];
const annotationData = annotationData_ || {};
@@ -216,6 +217,7 @@ export default function transformProps(
data1,
annotationData,
colorScale,
theme,
sliceId,
),
);
@@ -226,6 +228,7 @@ export default function transformProps(
data1,
annotationData,
colorScale,
theme,
sliceId,
),
);