Page 1 of 1

Pie unexpected change color

Posted: Tue May 16, 2006 12:41 pm
by 9640767
Hello All,

some strange behavior Pie Serier.

1. add Pie serier to the Chart
2. add 2 values to pie, but one of them should be small (i.e 0.01) and one big (i.e. 99.99)
3. property coloreach=true

then start change width and height... it's unbelievably but pie start change its color!

Any ideas, how I can avoid it?

Thanks.

Posted: Tue May 16, 2006 1:18 pm
by narcis
Hello,

I'm unable to reproduce the issue here using TeeChart for .NET v2 latest release and this code:

Code: Select all

    private void Form1_Load(object sender, EventArgs e)
    {
      pie1.Add(0.01);
      pie1.Add(99.99);
      pie1.ColorEach = true;
    }
Could you please send us an example we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.

Posted: Wed May 17, 2006 1:37 pm
by narcis
Hello,

Thanks for your example.

I could reproduce the issue here using your .exe but worked fine building my own application and importing your .ten file. I also noticed that the TeeChart assembly you use is not the latest release. Could you please try using latest maintenance release (Build 2.0.2306.26232) which includes some pie series painting enhancements?