Property: Line for PolarAdditionalMarker

DIAdem 2018 Help


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

DOWNLOAD (Windows Only)


DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help

Specifies the properties of a polar curve marker line in DIAdem REPORT.

Set oMarkerLine = Object.Line
ObjectPolarAdditionalMarker
Object with this property
oMarkerLineMarkerLine
Returned object

The following example generates an axis system with a polar curve and yellow curve markers:

Dim oMyPolarAxisSystem, oMyCurve, oMyPos, oMyLabel, oMyShape, oMySetting, oMyExtension
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")
Set oMyShape = oMyCurve.Shape
oMyShape.XChannel.Reference = "[5]/[1]" 
oMyShape.YChannel.Reference = "[5]/[2]" 
Set oMySetting = oMyShape.Settings
Call oMySetting.Line.Color.SetPredefinedColor(eColorIndexBlue)
oMySetting.Line.Width = eLineWidth0100
Set oMyExtension = oMyShape.Extensions
oMyExtension.Marker.Type = eMarkerCircle
oMyExtension.Marker.Size = 3
oMyExtension.Marker.Repetition.Mode = eMarkerRepetitionEveryNthPoint
oMyExtension.Marker.Repetition.NValue = 50
oMyExtension.Marker.Line.UseCurveColor = False
Call oMyExtension.Marker.Line.Color.SetPredefinedColor(eColorIndexYellow)
oMyExtension.Marker.Line.Width = eLineWidth0280
Call Report.Refresh()

WAS THIS ARTICLE HELPFUL?

Not Helpful