Property: CurveLegend for PolarSystem

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 legend of a polar axis system in DIAdem REPORT.

Set oCurveLegend = Object.CurveLegend
ObjectPolarSystem
Object with this property
oCurveLegendCurveLegend
Returned object

The following example generates a polar axis system with a curve and displays the legend:

Dim oMyPolarAxisSystem, oMyPos, oMyCurve
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(ePolarShapeLine, "MyCurve")
oMyCurve.Shape.XChannel.Reference = "[5]/[1]"
oMyCurve.Shape.YChannel.Reference = "[5]/[2]"
oMyPolarAxisSystem.CurveLegend.Visible = True
Call Report.Refresh()

WAS THIS ARTICLE HELPFUL?

Not Helpful