Object: 2DAxisYTickDisplay

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

The 2DAxisYTickDisplay object provides the axis tick properties in a y-axis in a 2D axis system in DIAdem REPORT.

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

Dim oMy2DAxisSystem, oMyPos, oMyYScaling, oMyTickDisplay 
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 oMyTickDisplay = oMy2DAxisSystem.YAxis.TickDisplay
oMyTickDisplay.Size = 2
oMyTickDisplay.Type = e2DAxisYTickBothSides 
oMyTickDisplay.UseAutoSize = False
Set oMyYScaling = oMy2DAxisSystem.YAxis.Scaling
oMyYScaling.AutoScalingType = eAxisAutoScalingManual
oMyYScaling.Type = e2DYScalingLinear
oMyYScaling.Begin = 0
oMyYScaling.End = 100
oMyYScaling.Origin = 50
oMyYScaling.Tick.Distance = 12.5
oMyYScaling.MiniTickCount = 10
Call Report.Refresh()

Properties

Size | Type | UseAutoSize

Returned From

2DAxisY.TickDisplay

WAS THIS ARTICLE HELPFUL?

Not Helpful