Remove Concentric Circles in PolarBar
Posted: 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. Here is my code
For Chart:
For Polarbar
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. 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
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)