Object: PolarAdditionalLabel

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 PolarAdditionalLabel object provides the properties of the labels 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 displays 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.Font.Name = "Arial"
oMyLabel.RelativePosition = eRelativePositionPointCenter
oMyLabel.Repetition.Mode = eLabelRepetitionMaxNPoints
oMyLabel.Repetition.NValue = 10
oMyLabel.Angle = 45
Call Report.Refresh()

WAS THIS ARTICLE HELPFUL?

Not Helpful