Property: HideSectorLinesInCenter for PolarSettings

DIAdem 2018 Help

Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)

DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help
DIAdem 2020 SP1 Help

Specifies whether DIAdem displays the sectors of the polar axis system from the beginning of the radial axis or from the center point of the radial axis.

Object with this property
Object.HideSectorLinesInCenterBoolean with read and write access
Specifies whether DIAdem starts the sector display at the beginning (TRUE) of the radial axis, or at the center point of the radial axis (FALSE).

The following example generates a polar axis system with a curve and displays the sectors from the beginning of the radial axis:

Dim oMyPolarAxisSystem, oMyCurve, oMyPolarSettings
Call Data.Root.Clear()
Call DataFileLoad(DataReadPath & "Report_Data.tdm","TDM","")
Call Report.NewLayout()
Set oMyPolarAxisSystem = Report.ActiveSheet.Objects.Add(eReportObjectPolarSystem,"MyPolarSystem")
oMyPolarAxisSystem.Position.ByCoordinate.X1 = 20
oMyPolarAxisSystem.Position.ByCoordinate.Y1 = 20
oMyPolarAxisSystem.Position.ByCoordinate.X2 = 80
oMyPolarAxisSystem.Position.ByCoordinate.Y2 = 80
Set oMyCurve = oMyPolarAxisSystem.CurvesPolar.Add(ePolarShapeLine, "MyNewCurve")
oMyCurve.Shape.XChannel.Reference= "[5]/[1]"
oMyCurve.Shape.YChannel.Reference = "[5]/[2]"
Call oMyCurve.Shape.Line.Color.SetPredefinedColor(eColorIndexBlue)
oMyPolarAxisSystem.Sectors.AutoScalingType = eAxisScalingSimpleManual
Set oMyPolarSettings = oMyPolarAxisSystem.Settings
oMyPolarSettings.HideSectorLinesInCenter = True
Call oMyPolarSettings.BackgroundColor.SetPredefinedColor(eColorIndexYellow)
Call Report.Refresh()


Not Helpful