AutoStiffLabels Object

The AutoStiffLabels object controls the settings for stiff plot labels.

Derived from: AutoPlotLabels object (All methods and properties of AutoPlotLabels apply to this object.)

Properties

AutoFirstLLabelRow

AutoFirstRLabelRow

AutoLastLLabelRow

AutoLastRLabelRow

FirstLLabelRow

FirstRLabelRow

LastLLabelRow

LastRLabelRow

LLabelsCol

LStep

RLabelsCol

RStep

Example

The following script demonstrates how the AutoStiffLabels object is used.

Sub Main

'Declares GrapherApp as an object

  Dim GrapherApp As Object

 

 'Creates an instance of the Grapher Application object

 'and assigns it to the variable named "GrapherApp"

  Set GrapherApp = CreateObject("Grapher.Application")

 

 'Makes Grapher visible

  GrapherApp.Visible = True

 

 'Creates a plot document in Grapher and assigns

 'it to the variable named "Plot"

  Set Plot = GrapherApp.Documents.Add(grfPlotDoc)

 

 'Declares Graph as an object

  Dim Graph As Object

 

'Create the stiff plot graph

Set Graph = Plot.Shapes.AddStiffPlotGraph("C:\Program Files\Golden Software\Grapher\Samples\stiff data.xls",2,3)

 

'Declares StiffPlot as object

Dim StiffPlot as Object

 

'Sets the stiff plot to the StiffPlot object

Set StiffPlot = Graph.Plots.Item(1)

 

'Sets the stiff plot labels to the StiffPlotLabels object

Set StiffPlotLabels = StiffPlot.Labels

 

'Turn on label display

StiffPlotLabels.ShowLabels = True

 

End Sub