Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Gantt Chart: set bar color depending on values
Migrateduser
<p>Hello,</p>
<p> </p>
<p>I'm trying without success to change the color of my bars depending on value available but not used on axe/serie of the chart.</p>
<p> </p>
<p>To illustrate my request, I created a sample report as attachment.</p>
<p> </p>
<p>Basically, I want to change the color repending on the value row["STATUS"].</p>
<p> </p>
<p>I found a solution by adding the row["STATUS"] in the X series and adding the following code on the function beforeDrawDataPoint</p>
<pre class="_prettyXprint _lang-">
if (dph.getBaseDisplayValue() == <value>)
fill.set(255,0,0);
</pre>
<p>but it dosn't fit for me cause I need to have both colors status in one line.</p>
<p> </p>
<p>Is there any way to do that.</p>
<p> </p>
<p>Don't hesitate to ask if you need more information or if my request isn't clear.</p>
<p> </p>
<p>Thanks for your help</p>
Find more posts tagged with
Comments
There are no comments yet