Skip to main content

i have group of values with different color codes. When I run the transformer, it considers only first row color for all bars. Actually Bar colors should vary based on color attribute , Really appreciable if anyone can help on this ?

Hi @saravanan

I checked and found that this was a known issue in 2017:

If the data enters the ChartGenerator unsorted the color assignments are

 

wrong, even though they are supposed to be read from the fme_color. First

 

wedge gets swapped with the last one. Sorting the data seems to fix this

 

but it's still counterintuitive.

So it sounds like you can workaround this by sorting the data, presumably by fme_color

However, the issue has now been fixed anyway. If you upgrade to FME2019.1 (build 19554 or greater) then you should find that the color works as intended.


Hi @saravanan

I checked and found that this was a known issue in 2017:

If the data enters the ChartGenerator unsorted the color assignments are

 

wrong, even though they are supposed to be read from the fme_color. First

 

wedge gets swapped with the last one. Sorting the data seems to fix this

 

but it's still counterintuitive.

So it sounds like you can workaround this by sorting the data, presumably by fme_color

However, the issue has now been fixed anyway. If you upgrade to FME2019.1 (build 19554 or greater) then you should find that the color works as intended.

Note to self: FMEENGINE-40260


Hi @saravanan

I checked and found that this was a known issue in 2017:

If the data enters the ChartGenerator unsorted the color assignments are

 

wrong, even though they are supposed to be read from the fme_color. First

 

wedge gets swapped with the last one. Sorting the data seems to fix this

 

but it's still counterintuitive.

So it sounds like you can workaround this by sorting the data, presumably by fme_color

However, the issue has now been fixed anyway. If you upgrade to FME2019.1 (build 19554 or greater) then you should find that the color works as intended.

Thank you Mark. I tried by sorting fme_color, but still the problem persists. Hope upgrading would be better solution.