Remove Concentric Circles in PolarBar

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Remove Concentric Circles in PolarBar

Post by asupriya » Mon Aug 30, 2010 2:51 am

Hi,

I have a polar bar series as shown in the attached image. How can i make sure the concentric circles are NOT drawn. I tried every thing, but could not turnoff these concentric circles. Please help.
8-29-2010 9-42-50 PM.png
8-29-2010 9-42-50 PM.png (48.07 KiB) Viewed 4679 times
Here is my code

For Chart:

Code: Select all

With MyChart
                .Legend.Visible = False
                .Panel.Color = Color.White
                .Panel.Gradient.Visible = False
                .Text = "Phasor Display"

                .Axes.Left.TicksInner.Visible = False
                .Axes.Right.TicksInner.Visible = False
                .Axes.Top.TicksInner.Visible = False
                .Axes.Bottom.TicksInner.Visible = False

                .Axes.Left.AutomaticMaximum = False
                .Axes.Left.Labels.Visible = False
                .Axes.Bottom.AutomaticMaximum = False
                .Axes.Bottom.Labels.Visible = False
                .Axes.Right.AutomaticMaximum = False
                .Axes.Right.Labels.Visible = False
                .Axes.Top.AutomaticMaximum = False
                .Axes.Top.Labels.Visible = False
                .Axes.Left.AutomaticMinimum = True
                .Axes.Bottom.AutomaticMinimum = True
                .Axes.Right.AutomaticMinimum = True
                .Axes.Top.AutomaticMinimum = True
                .Axes.Top.Grid.Visible = False
                .Axes.Bottom.Grid.Visible = False
                .Axes.Right.Grid.Visible = False

                .Aspect.Elevation = 315
                .Aspect.Rotation = 360
                .Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality
                .Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit
                .Aspect.View3D = False
                .Axes.Bottom.Labels.Font.Shadow.Visible = False
                .Axes.Bottom.Labels.Shadow.Visible = False
                .Axes.Bottom.Title.Font.Shadow.Visible = False
                .Axes.Bottom.Title.Shadow.Visible = False
                .Axes.Bottom.TickOnLabelsOnly = True
                .Axes.Bottom.MinimumOffset = 5 ' 5 pixels
                .Axes.Depth.Labels.Font.Shadow.Visible = False
                .Axes.Depth.Labels.Shadow.Visible = False
                .Axes.Depth.Title.Font.Shadow.Visible = False
                .Axes.Depth.MinimumOffset = 5

                .Dock = DockStyle.Fill
                .Footer.Visible = True
            End With
For Polarbar

Code: Select all

phasorBar = New Steema.TeeChart.Styles.PolarBar
                phasorBar.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Cross
                phasorBar.Color = Color.Red
                phasorBar.Pen.Width = 2
                phasorBar.Pointer.Pen.Color = Color.Transparent
                phasorBar.Pen.EndCap = Drawing2D.LineCap.ArrowAnchor
                phasorBar.Circled = True
                phasorBar.Marks.Visible = False
                MyChart.Series.Add(phasorBar)

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Remove Concentric Circles in PolarBar

Post by Yeray » Tue Aug 31, 2010 9:54 am

Hi asupriya,

I think you need to hide the Left Axis Grid:

Code: Select all

tChart1.Axes.Left.Grid.Visible = false;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Re: Remove Concentric Circles in PolarBar

Post by asupriya » Tue Aug 31, 2010 11:22 am

Thank you Yeray. It took care of the issue.

Post Reply