Skip to content

Commit

Permalink
pie
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Nov 10, 2020
1 parent 6d4c5b4 commit cbfcfc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,12 @@ export function PieComponent(

onClickValue(desanitizeFilterContext(context));
}}
theme={chartTheme}
theme={{
...chartTheme,
background: {
color: undefined, // removes background for embeddables
},
}}
baseTheme={chartBaseTheme}
/>
<Partition
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/lens/public/xy_visualization/expression.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ export function XYChart({
...valueLabelsStyling,
},
background: {
color: undefined, // removes the background for embeddables
color: undefined, // removes background for embeddables
},
}}
baseTheme={chartBaseTheme}
Expand Down

0 comments on commit cbfcfc6

Please sign in to comment.