Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Set ColorModel for ChartLayer
posted

Hi,

I've got a composite chart and would like to set a different ColorModel for each layer, can anyone tell me how this is done?

Thanks,

Dean.

Parents
  • 28496
    Verified Answer
    Offline posted

    sorry, it's not possible using the ColorModel.  however, if you add PaintElements to the PEs collection of each series, you can set a distinct palette for each series.

    for even more control over the chart coloring, you can handle the FillSceneGraph or ChartDrawItem events and change the PE for any primitive (Box/Ellipse/Polygon/etc) on the chart.

Reply Children
No Data