Property: BackgroundColor 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 the background color of a polar axis system in DIAdem REPORT.

Set oColor = Object.BackgroundColor
ObjectPolarSettings
Object with this property
oColorColor
Returned object

The following example generates a polar axis system with a curve and makes general settings:

Dim oMyPolarAxisSystem, oMyPosition, OMyCurve, oMyPolarSector
Call Report.NewLayout()
Set oMyPolarAxisSystem = Report.ActiveSheet.Objects.Add(eReportObjectPolarSystem, "MyPolarAxisSystem")
Set oMyPosition = oMyPolarAxisSystem.Position.ByCoordinate
oMyPosition.X1 = 20
oMyPosition.Y1 = 20
oMyPosition.X2 = 80
oMyPosition.Y2 = 80
Set OMyCurve = oMyPolarAxisSystem.CurvesPolar.Add(ePolarShapeLineAndPoints, "MyCurve")
Call Data.Root.Clear()
Call DataFileLoad(DataReadPath & "Report_Data.tdm","TDM","")
OMyCurve.Shape.XChannel.Reference = "[5]/[1]"
OMyCurve.Shape.YChannel.Reference = "[5]/[2]"
Call oMyPolarAxisSystem.Settings.BackgroundColor.SetPredefinedColor(eColorIndexYellow )
oMyPolarAxisSystem.Settings.HideSectorLinesInCenter = True
Call Report.Refresh()

WAS THIS ARTICLE HELPFUL?

Not Helpful