219
Views
2
Comments
Solved
Legend color is different with bar chart

I got a problem when setting color for the legend of bar graph. 

this is my AdvancedFormat for setting my legend's color :

When the data only from "Wilayah 3", I get wrong legend's color like this :


But, when the data have other record, let's say data from "Wilayah 5". It's return the right legend's color like this :


What should I do to fix the problem?

2021-09-06 15-09-53
Dorine Boudry
 
MVP
Solution

Hi @GKJ Dayu Yogyakarta ,

I can't replicate this with version 3.0 of chart component (using the columnchart_v1)

it looks like a bug in older version (what version are you using ?)

So maybe upgrade and see if that solves it for you

Or if that is not possible, workaround would be to only add series definitions for which you actually have datapoints to show.

Dorine

UserImage.jpg
GKJ Yogyakarta

Hi Dorine. Thank you for your suggest!
I'm now using Outsystems Service Studio 11.

Now I can only use the addition of the data series. 

Thanks for your suggest

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.