Page 1 of 1

WPF Polar chart axes ticks visibility not switched off

Posted: Tue Oct 07, 2008 2:28 pm
by 13050247
[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]

Posted: Tue Oct 07, 2008 3:23 pm
by narcis
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.

Posted: Fri Oct 24, 2008 9:04 am
by narcis
Hi Sean,

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

Code: Select all

				tChart1.Axes.Right.MinorTicks.Visible = false;