Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Problem coloring bars in a Gantt chart
Laxapanj
I am using Birt RCP designer 2.3.0.
For a Bar Chart, I can override the color of each bar simply with:
function beforeDrawDataPoint( dph, fill, icsc )
{
fill.set(240,120,10);
}
If I use this same code for a Gantt Chart, it does not work. The bars keep their initial color.
Should I use something else than the Fill variable, or another property of the Fill object ?
Find more posts tagged with
Comments
JasonW
It would be good if you could log a bug for this. It appears that the Gantt renderer only sets the fill from script if you color by categories. You can change this on the third tab of the wizard.
Jason
Laxapanj
Thanks, you are right, it works when the chart coloring is set by Categories. I have logged a bug for this.