Skip to content

Commit

Permalink
color variable changes
Browse files Browse the repository at this point in the history
Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>
  • Loading branch information
deepaknevdepsl committed Jun 14, 2022
1 parent cf82872 commit 2ae400d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const Pie = ({ visualizations, layout, config }: any) => {
const showLegend = dataConfig?.legend?.showLegend === 'hidden' ? false : vis.showLegend;
const legendPosition = dataConfig?.legend?.position || vis.legendPosition;

let valueSeries;
let valueSeries;
if (!isEmpty(xaxis) && !isEmpty(yaxis)) {
valueSeries = [...yaxis];
} else {
Expand All @@ -43,7 +43,7 @@ export const Pie = ({ visualizations, layout, config }: any) => {
colorTheme.name !== DEFAULT_PALETTE
? {
marker: {
colors: [...Array(data[field.name].length).fill(colorTheme.color)],
colors: [...Array(data[field.name].length).fill(colorTheme.childColor)],
line: {
color: invertHex(colorTheme),
width: 1,
Expand Down

0 comments on commit 2ae400d

Please sign in to comment.