Layout2D.Axes
This property is read only.
SVB Example
Customizing a 2D graph:
Const RED = RGB(255,0,0)
Option Base 1
Option Explicit
Sub Main
Dim GraphLayout As Layout2D
Set GraphLayout = ActiveGraph.Content
GraphLayout.Attribute.Background.Color = RED
GraphLayout.Axes(scgY).ScaleValuesOrientation = scgScaleValuesDirectionParallel
'change the axis positions so that the X axis will
'become the new Y axis and the Y axis will become the new X axis.
GraphLayout.AxisPositions = scgReversedAxis
'change the graph to make both the X and Y axes proportional equal
GraphLayout.AxisProportion = scgEqual
End Sub
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.
