Object: PolarLineAndPointsExtensions

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 PolarLineAndPointsExtensions object provides the extended properties of a polar curve in the display type Line and Points in DIAdem REPORT.

The following example generates a polar axis system with a curve and specifies the parameters of the curve labels:

Dim oMyPolarAxisSystem, oMyCurve, oMyPos, oMyLabel
Call Report.NewLayout()
Call Data.Root.Clear()
Call DataFileLoad(DataReadPath & "Report_Data.tdm","TDM","")
Set oMyPolarAxisSystem = Report.ActiveSheet.Objects.Add(eReportObjectPolarSystem, "MyPolarAxisSystem")
Set oMyPos = oMyPolarAxisSystem.Position.ByCoordinate
oMyPos.X1 = 20
oMyPos.X2 = 80
oMyPos.Y1 = 20
oMyPos.Y2 = 80
Set oMyCurve = oMyPolarAxisSystem.CurvesPolar.Add(ePolarShapeLineAndPoints, "MyCurve")
oMyCurve.Shape.XChannel.Reference = "[5]/[1]" 
oMyCurve.Shape.YChannel.Reference = "[5]/[2]" 
Set oMyLabel = oMyCurve.Shape.Extensions.Label
oMyLabel.YValueVisible = True
oMyLabel.YValueFormat = "d.dd"
oMyLabel.RelativePosition = eRelativePositionPointCenter
oMyLabel.Repetition.Mode = eLabelRepetitionNthPoint
oMyLabel.Repetition.NValue = 75
Call Report.Refresh()

Properties

Label | Marker

WAS THIS ARTICLE HELPFUL?

Not Helpful