Object: 2DLineExtensions

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 2DLineExtensions object provides the extended curve properties of a 2D axis system in the Line display mode in DIAdem REPORT.

The following example generates a 2D axis system with a curve and displays curve labels:

Dim oMy2DAxisSystem, oMyCurve, oMyPos, oMyShape, oMyLabel
Call Report.NewLayout()
Set oMy2DAxisSystem = Report.ActiveSheet.Objects.Add(eReportObject2DAxisSystem, "My2DAxisSystem")
Set oMyPos = oMy2DAxisSystem.Position.ByCoordinate
oMyPos.X1 = 20
oMyPos.X2 = 80
oMyPos.Y1 = 20
oMyPos.Y2 = 80
Set oMyCurve = oMy2DAxisSystem.Curves2D.Add(e2DShapeLineAndPoints, "MyCurve")
Set oMyShape = oMyCurve.Shape
oMyShape.XChannel.Reference = "[1]/[1]" 
oMyShape.YChannel.Reference = "[1]/[2]" 
Set oMyLabel = oMyShape.Extensions.Label
oMyLabel.YValueVisible = True
oMyLabel.YValueFormat = "d.dd"
oMyLabel.Position.Type = e2DLabelPositionAtPoint
oMyLabel.Repetition.Mode = e2DLabelRepetitionMaxNPoints
oMyLabel.Repetition.NValue = 10
Call Report.Refresh() 

Properties

ErrorBars | Marker

Returned From

2DLine.Extensions

WAS THIS ARTICLE HELPFUL?

Not Helpful