Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Commit 7d17e39

Browse files
committed
fix: legend
1 parent 6ca6e0b commit 7d17e39

File tree

2 files changed

+2
-2
lines changed
  • packages
    • superset-ui-plugins-demo/storybook/stories/preset-chart-xy/ScatterPlot
    • superset-ui-preset-chart-xy/src/components/legend2

2 files changed

+2
-2
lines changed

packages/superset-ui-preset-chart-xy/src/components/legend2/DefaultLegendItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ export default function DefaultLegendItem<Config extends EncodingConfig>({
2121
fill={
2222
// @ts-ignore
2323
(item.output.color ??
24-
// @ts-ignore
25-
item.output.stroke ??
2624
// @ts-ignore
2725
item.output.fill ??
26+
// @ts-ignore
27+
item.output.stroke ??
2828
'#ccc') as string
2929
}
3030
stroke={

0 commit comments

Comments
 (0)