WPF Polar chart axes ticks visibility not switched off

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Sean Snyders
Newbie
Newbie
Posts: 14
Joined: Thu Sep 04, 2008 12:00 am

WPF Polar chart axes ticks visibility not switched off

Post by Sean Snyders » Tue Oct 07, 2008 2:28 pm

[Teechart Pro version 3.5.3188.18562]

Hi,

I add the following

Code: Select all

Polar p = chart[0] as Polar;
        if (p != null)
        {
            chart.Axes.Left.Visible = false;
            chart.Axes.Bottom.Visible = false;
            chart.Axes.Top.Visible = false;
            chart.Axes.Right.Visible = true;
            chart.Axes.Right.Ticks.Visible = false;

            p.Title = "hello";
            p.Brush.Visible = false;
            p.ClockWiseLabels = true; // angles increment clockwise
            p.CircleLabels = true;
            p.Circled = true;
            p.RotationAngle = 90; // zero degrees is at top
            p.AngleIncrement = 30; // 30 degrees increments
            p.RadiusIncrement = 200;
        }
to the WPF demo application in the ToolsGalleryDemos.cs file just above the

Code: Select all

if (ATool != null)
      {
        chart.Tools.Add(ATool);
      }
Supposedly by setting

Code: Select all

chart.Axes.Right.Ticks.Visible = false;
the axis line will not show, but it does for Polar charts. I want the axis labels there (i.e. the numbers, but not the line). If I use the WinForms application and use the chart editor dialog, then this works fine. Using the XPTheme it is easier to see what I mean.[/code]

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Oct 07, 2008 3:23 pm

Hi Sean,

I could reproduce this in WinForms too setting AxisPen to not visible:

Code: Select all

        tChart1.Axes.Right.AxisPen.Visible = false;
I've added the defect (TF02013436) to the list to be fixed for next releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Oct 24, 2008 9:04 am

Hi Sean,

Investigating this issue we found that it can be solved setting this:

Code: Select all

				tChart1.Axes.Right.MinorTicks.Visible = false;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply