Object: 2DAxisY
- Updated2024-09-12
- 1 minute(s) read
(2DAxisSystem | 2DAxisYAxisList) > Object: 2DAxisY
Object: 2DAxisY
The 2DAxisY object provides the y-axis for a 2D axis system in DIAdem REPORT. The 2DAxisY object is identical with the first element of the 2DAxisYAxisList collection.
The following example displays the horizontal offset and the names of all y-axes:
| VBScript | Python |
Dim oMyReportObj, oMyReportObjects, oMySubObjects, i, sOutput sOutput = "" Set oMyReportObjects = Report.ActiveSheet.Objects For Each oMyReportObj in oMyReportObjects If oMyReportObj.ObjectType = eReportObject2DAxisSystem Then Set oMySubObjects = oMyReportObj.YAxisList For i = 1 to oMySubObjects.Count sOutput = sOutput & "Horizontal offset: " & oMySubObjects.Item(i).OffsetHorizontal & vbTab & _ "Axis name: " & oMySubObjects.Item(i).Name & vbCrLf Next End If Next Call MsgBoxDisp(sOutput)
Properties
DisableCurveClipping | Height | Index | Label | Line | Name | Numbers | OffsetHorizontal | OffsetOrigin | OffsetVertical | Scaling | TagStored | TagTemporary | TargetUnit | TickDisplay | Visible
Returned From
2DAxisSystem.YAxis | 2DAxisYAxisList.Add | 2DAxisYAxisList.Item