Property: Marker for PolarLineAndPointsExtensions

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 the curve marker of a polar curve in the Line and points display mode in a polar axis system in DIAdem REPORT.

Set oPolarAdditionalMarker = Object.Marker
Object with this property
Returned object

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

Dim oMyPolarAxisSystem, oMyCurve, oMyPos, oMyLabel, oMyShape, oMySetting, oMyMarker
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(e2DShapeLineAndPoints, "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 oMyMarker = oMyShape.Extensions.Marker
oMyMarker.Type = eMarkerCircle
oMyMarker.Size = 3
oMyMarker.Repetition.Mode = eMarkerRepetitionEveryNthPoint
oMyMarker.Repetition.NValue = 50
oMyMarker.Line.UseCurveColor = False
Call oMyMarker.Line.Color.SetPredefinedColor(eColorIndexYellow)
oMyMarker.Line.Width = eLineWidth0280
Call Report.Refresh()


Not Helpful