mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
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:
committed by
GitHub
parent
ca9766c109
commit
c4c714fffb
@@ -83,7 +83,7 @@ export function formatFunnelLabel({
|
||||
export default function transformProps(
|
||||
chartProps: EchartsFunnelChartProps,
|
||||
): FunnelChartTransformedProps {
|
||||
const { formData, height, hooks, filterState, queriesData, width } =
|
||||
const { formData, height, hooks, filterState, queriesData, width, theme } =
|
||||
chartProps;
|
||||
const data: DataRecord[] = queriesData[0].data || [];
|
||||
|
||||
@@ -173,7 +173,7 @@ export default function transformProps(
|
||||
const defaultLabel = {
|
||||
formatter,
|
||||
show: showLabels,
|
||||
color: '#000000',
|
||||
color: theme.colors.grayscale.dark2,
|
||||
};
|
||||
|
||||
const series: FunnelSeriesOption[] = [
|
||||
|
||||
Reference in New Issue
Block a user