Need a special offer?Find out if your project fits.
+

Separate Colors in Charts

Answered
Michael Jaworski asked on April 18, 2024

Our product management team has noticed that the same colors are used in a pie chart. We set the colors to different values, but we see the same shade of color used for two slices.
Can you help us understand how we can ensure different colors are used?
```

.fm-charts-color-1 {
fill:var(--hi-clr--blue-3)!important;
}

.fm-charts-color-2 {
fill:var(--hi-clr--yellow-3)!important;
}

.fm-charts-color-3 {
fill:var(--hi-clr--cyan-3)!important;
}

.fm-charts-color-4 {
fill:var(--hi-clr--orange-3)!important;
}

.fm-charts-color-5 {
fill:var(--hi-clr--green-3)!important;
}

.fm-charts-color-6 {
fill:var(--hi-clr--red-3)!important;
}

.fm-charts-color-7 {
fill:var(--hi-clr--teal-3)!important;
}

.fm-charts-color-8 {
fill:var(--hi-clr--magenta-3)!important;
}

.fm-charts-color-9 {
fill:var(--hi-clr--purple-3)!important;
}
```

Attachments:
fm_chart_colors

4 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster April 19, 2024

Hello Michael,

Thank you for reaching out to us.

It seems that there are more than 9 members in the provided screenshot. The colors are repeated since some of them have no values on the chart. We recommend filtering the empty data to show the different colors on the charts.

Please let us know if it works for you. Looking forward to hearing from you.

Kind regards,
Nadia

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 2, 2024

Hello Michael,

Hope you are doing well.

We were wondering if you had a chance to check the suggested approach. Could you please confirm if it works for you?

Looking forward to hearing your feedback.

Kind regards,
Nadia

Public
Michael Jaworski May 2, 2024

Thanks. Our PM Team accepts that this is a data issue. Much appreciated.

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 3, 2024

Hello Michael,

Thank you for the feedback.

You are welcome to contact us in case other questions arise.

Kind regards,
Nadia

Please login or Register to Submit Answer