Graph.Content
Use TypeContent property before.
SVB Example
Customizing the content of a graph:
Option Base 1 Option Explicit Sub Main Dim gr As Graph 'set the object gr to the active graph Set gr = ActiveGraph 'The Content property allows access to the graph for custom modification 'Assign the content to a Layout object Dim l As Layout2D Set l = gr.Content 'to the next level Dim y As Axis2D Set y = l.Axes.YAxis 'set the range of the Y axis of the graph y.SetManualRange(0,12) y.RangeMode = scgManualRange y.StepSize =2 y.StepMode = scgManualStep gr.Visible = True End Sub
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.