Object: 2DAxisXTickDisplay

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 2DAxisXTickDisplay object provides the tick properties of the x-axis in a 2D axis system in DIAdem REPORT.

The following example generates a 2D axis system and specifies the scaling ticks:

Dim oMy2DAxisSystem, oMyXTickDisplay, oMyYTickDisplay, oMyPos
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
oMy2DAxisSystem.Settings.UseIndividualAxisStyle = True
Set oMyXTickDisplay = oMy2DAxisSystem.XAxis.TickDisplay
oMyXTickDisplay.UseAutoSize = False
oMyXTickDisplay.Size = 5
oMyXTickDisplay.Type = e2DAxisXTickBothSides
Set oMyYTickDisplay = oMy2DAxisSystem.YAxis.TickDisplay
oMyYTickDisplay.UseAutoSize = False
oMyYTickDisplay.Size = 5
oMyYTickDisplay.Type = e2DAxisXTickBothSides
Call Report.Refresh()

Properties

Size | Type | UseAutoSize

Returned From

2DAxisX.TickDisplay

WAS THIS ARTICLE HELPFUL?

Not Helpful