BIRT Report Designer: Setting color of bars in a bar chart by using a specific value [message #1594895] |
Sat, 31 January 2015 11:18  |
Eclipse User |
|
|
|
Hi all
I have a table like:
Category_X, Group_X, Value_Y
A, G1, 1.234
B, G1, 65.666
C, G2, 54.78
D, G2, 45.67
E, G3, 12.43
.....
I have already generated a bar chart with BIRT Report Designer that uses Category_X for the x axis und Value_Y for the y axis. What is missing is the following:
I want to color the bar based on the Group_X value. In pseudo code:
if group = G1 then color_of_bar = red,
if group = G2 then color_of_bar = blue,
....
Can anyone help how the insert that into my report generated in Report Designer? Is it a line of code that I can enter at a "specific position"?
Best, Frank
|
|
|
|
Powered by
FUDForum. Page generated in 0.03045 seconds