Page 1 of 1

Remove Concentric Circles in PolarBar

Posted: Mon Aug 30, 2010 2:51 am
by 13051032
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 4681 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)

Re: Remove Concentric Circles in PolarBar

Posted: Tue Aug 31, 2010 9:54 am
by yeray
Hi asupriya,

I think you need to hide the Left Axis Grid:

Code: Select all

tChart1.Axes.Left.Grid.Visible = false;

Re: Remove Concentric Circles in PolarBar

Posted: Tue Aug 31, 2010 11:22 am
by 13051032
Thank you Yeray. It took care of the issue.