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
160
Customizing legend in Gantt Chart
posted

Hi ,

I have change the colour of the series in code but it is not updating in legends (It is still showing me previous colours). So any one know the reason behind it.

Thanks in Advance.

Regards

Talha

Parents
No Data
Reply
  • 17605
    posted

    Can you send us your code for changing the color?

    I tried:

    ISeries series = this.ultraChart1.Series[0];

    series.PEs.Clear();

    series.PEs.Add(new PaintElement(Color.Blue));

    and this changes the color and in the legend too.

Children
No Data