Skip to main content
Solved

Color by attribute value is not working in Chart Generator FME 2017

  • October 29, 2019
  • 3 replies
  • 45 views

saravanan
Contributor
Forum|alt.badge.img+18

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 ?

Best answer by mark2atsafe

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • Best Answer
  • October 30, 2019

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.


mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • October 30, 2019

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


saravanan
Contributor
Forum|alt.badge.img+18
  • Author
  • Contributor
  • 6 replies
  • October 31, 2019

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.