Object: PolarAxisScaling

DIAdem 2018 Help

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

DOWNLOAD (Windows Only)

DIAdem 2012 Help
DIAdem 2014 Help
DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help

The PolarAxisScaling object provides the radial axis scaling for a polar axis system in DIAdem REPORT.

The following example generates a polar axis system and sets the scaling type for the polar axis to linear:

Dim oMyPolarAxisSystem, oMyPosition, oMyCurve
Call Data.Root.Clear()
Call DataFileLoad(DataReadPath & "Report_Data.tdm","TDM","")
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(ePolarShapeLine, "MyCurve")
oMyCurve.Shape.XChannel.Reference = "[5]/[1]" 
oMyCurve.Shape.YChannel.Reference = "[5]/[2]" 
oMyPolarAxisSystem.RadialAxis.Scaling.Type = ePolarScalingLinear
Call Report.Refresh()

Returned From



Not Helpful