ChartDirector Support
Forum Home
Search
Message List
Post Message
[Oct-20-2022 14:35]
Donut Chart Colour Control
(Adamraju)
[Oct-20-2022 15:20]
Re: Donut Chart Colour Control
(Peter Kwan)
Donut Chart Colour Control
Posted by Adamraju on Oct-20-2022 14:35
|
Reply
|
Monitor
Hi Team ,
We have a pie / Donut chart with legends.
Observed that Colours of Legends or inchart is getting filled randomly.
But we have the requirement for mapping colours based on the legend name.
Can u give us an example for color mapping
Re: Donut Chart Colour Control
Posted by Peter Kwan on Oct-20-2022 15:20
|
Reply
|
Monitor
Hi Adamraju,
Below is an example in which the sectors used colors specified in code:
https://www.advsofteng.com/doc/cdjava.htm#legendpie2.htm
Best Regards
Peter Kwan