color in pie chart [message #202731] |
Thu, 23 November 2006 08:11 |
Eclipse User |
|
|
|
Hello everybody,
I have a pie chart and I must use the same color
for some category.
status | count
--------+-------
failed | 2
passed | 3
pending | 1
E.g. if category status has value failed, I want
its slice to be rendered in red, passed to be rendered
as green and pending in orange.
How can I achieve this functionality? When I specify
colors in Series pallete (red, green, orange), then its colors
will be used depending on returned order (and presence) in dataset.
When dataset returns only two rows without failed items,
then red color from pallete will be used for passed items,
because they are actually the first item in data set.
status | count
--------+-------
passed | 3
pending | 1
It seems clear that pallete just defines the order of colors, regardless
of real value. Can you please advice me, how to specify color for
categories? I want always to use red color for failed category etc.
Thank you for your hint
Sincerelly
Leos
|
|
|
Powered by
FUDForum. Page generated in 0.03466 seconds