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
Custom Coding the Pie chart to display colors based on certain conditions and not choose the default
Migrateduser
<p>Hi,</p>
<p> </p>
<p>I need to custom code the colors for specific series, say for example I want the color red for value 'ABC' and color blue for value 'DEF' (pls refer attachment). I have currently chosen the colors from the series palette, I have chosen red as the first color and blue as the second color.</p>
<p> </p>
<p>Imagine, If there is no value for 'ABC' and there is only values for 'DEF', the color red gets assigned to 'DEF" but we needed blue for'DEF'.</p>
<p> </p>
<p>The colors are chosen based on the order given in the series palette, but I need to custom code it. I tried custom coding in the script before rendering series option but somehow could not succeed on it.</p>
<p> </p>
<p>Please find the data source and the screenshot, It would be of great help, If someone could help on this.
Find more posts tagged with
Comments
There are no comments yet