AutoClipping Object
The AutoClipping object controls plot clipping settings and is accessed from the AutoPlot Clipping property.
Properties
Methods
Note: See the Data Filter help topic and the SetDataFilter automation help topic form information on creating data filters using criteria.
AddColValue (deprecated)
AddNullColumn (deprecated)
AddNullRange (deprecated)
AddNullValue (deprecated)
DeleteColValue (deprecated)
DeleteNullColumn (deprecated)
DeleteNullRange (deprecated)
DeleteNullValue (deprecated)
RemoveAllValues (deprecated)
Example
The following script demonstrates how the AutoClipping 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
'Creates a graph and assigns it to the variable
'named "Graph"
Set Graph = Plot.Shapes.AddBarChartGraph(GrapherApp.Path + "\Samples\barchart.dat",1,2)
'Declare Bar1 as an object
Dim Bar1 As Object
'Set the bar chart to the Bar1 object
Set Bar1 = Graph.Plots.Item(1)
‘Declare Clipping as an object
Dim Clipping as Object
‘Set the bar chart clipping to the Clipping Object
Set Clipping = BarChart.Clipping
End Sub