ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Donut Chart Colour Control
Posted by Adamraju on Oct-20-2022 14:35
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
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