Skip to main content



      Home
Home » Archived » BIRT » color in pie chart
color in pie chart [message #202731] Thu, 23 November 2006 08:11
Eclipse UserFriend
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
Previous Topic:Selection List fetch from report is not public.
Next Topic:Scripted DataSource & Unique ID
Goto Forum:
  


Current Time: Fri Sep 19 07:41:40 EDT 2025

Powered by FUDForum. Page generated in 0.02995 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top