Handling colors in GroupBy Bar Chart

Hello,

I use a GroupBy Bar Chart of JFreeChart and align the bars with same Label together. How can I choose the colors corresponding to the bars that correcpond to a specific Label?

Best regards

Hi there!

Not sure if this will help but take a look…

If you choose option Align bars with same label together in description node says:

Align bars with same label together
If selected all bars belonging to one label (different value columns) are aligned together. Otherwise the bars belonging to the same value column are plotted next to each other. If the option is chosen, the color of the bars is chosen randomly.

In case you do not chose it you can use Use row color option but before it you need Color Manager Node to assign colors…

Regards,
Ivan

Hello,

thank you for your answer. So if I align bars with the same Labels together (which I Need to do, anything else makes no sense…) then there is no possibility of deciding the colors? This option should obviously exist :-/

Best regards

1 Like

Maybe you can do it using a flow variable but not sure…
Ivan