impossible to draw anything before Axis with polar series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Neurosoft
Newbie
Newbie
Posts: 1
Joined: Wed Apr 29, 2015 12:00 am

impossible to draw anything before Axis with polar series

Post by Neurosoft » Thu Oct 15, 2015 5:36 pm

I use TeeChart to show this diagram. But, when I got the latest version (Version 4.1.2015.3112), I faced with strange bug:
It’s impossible to draw anything before Axis with polar series. I use event “BeforeDrawAxes”, but Axis and series draw after my pictures and hide them.
Like in this figure:
https://yadi.sk/i/CXYVu3mmjm7NQ
If I draw my figures and circles in method “AfterDraw”, my picture hides all grids and series.
https://yadi.sk/i/_2nGRcxmjm7Nv
So I have to use transparency to get the chart slight alike what I need.
https://yadi.sk/i/GZC4qS1vjm7P9
How you see, this is not readable.

What can I do to get the chart like it was with previous versions?
For example (version 4.1.2011.7283):
https://yadi.sk/i/LUMKOyKejm7PT

In order to prove my words I made two solutions (small applications):
https://yadi.sk/d/mEdTgKFQjm7WL
https://yadi.sk/d/5uwkI7Cnjm7WQ

Description of problem: https://yadi.sk/i/T-I4VhuOjm7Z7

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: impossible to draw anything before Axis with polar series

Post by Christopher » Fri Oct 16, 2015 1:00 pm

Neurosoft wrote: In order to prove my words I made two solutions (small applications):
Many thanks.

Apologies for this small regression. You can recuperate the previous behaviour with a one-line modification:

Code: Select all

    private void Form1_Shown(object sender, EventArgs e)
    {
      int ScaleCount = 8;
      var r = new Random(1);
      for (int i = 0; i < ScaleCount; i++)
      {
        var CSValue = r.Next(3, 9);
        polar1.Add((double)-i * 360 / ScaleCount, CSValue);
      }

      polar1.CircleBackColor = Color.Transparent; //<- new line
    }
Again, apologies for any inconvenience caused.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply