Graph.Content

Use TypeContent property before.

This property is read only.

Syntax Parameters Return Value
- - Object

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