Page 1 of 1

Display an empty Polar chart

Posted: Mon Nov 17, 2014 7:36 am
by 15670310
Is there a way of displaying an empty Polar chart? I mean a Polar chart that only shows the grid without any series inside of it?

What I want to do:
- I have a TeeChart
- I can programmatically add a new Polar series to that: Polar chart (grid and series) are displayed.
- When I then programmatically remove the series the Polar chart (grid, round outline) disappear.
- BUT I would like the grid to remain displayed! How can I do that?

(See attached example to see what I mean...)

Thanks for any help.

Re: Display an empty Polar chart

Posted: Mon Nov 17, 2014 11:54 am
by Christopher
Hello,

you could try adding an "empty" polar series with a single transparent point in it, e.g.

Code: Select all

    private void InitializeChart()
    {
      EmptyPolar();
    }

    private void EmptyPolar()
    {
      Polar polar = new Polar(tChart1.Chart);
      polar.Circled = true;
      polar.Add(1, 0);
      polar.Pointer.Transparency = 100;

      tChart1.Legend.Visible = false;
    }