AddBetweenFillBlank Method
The AddBetweenFillBlank method adds a new blank between fill (a blank fill between two plots). The methods SetBetweenFillPlotOne and SetBetweenFillPlotTwo should then be used to assign the plots to the between fill.
Syntax
object.AddBetweenFillBlank
Example 1
The following example adds a blank between fill to a line graph.
'Adds a between fill to a LineGraph object
Graph1.AddBetweenFillBlank
Example 2
The following example adds a second plot to the Graph1 object, adds a blank between fill, specifies the between fill plot one and plot two, then changes the between fill pattern and color.
'Add a second plot
Graph1.AddLinePlot(GrapherApp.Path+"\samples\bar chart orientations.dat",1,3)
'Define objects
Set LinePlot1 = Graph1.Plots.Item(1)
Set LinePlot2 = Graph1.Plots.Item(2)
'Add blank between fill
Graph1.AddBetweenFillBlank
'Specify LinePlot1 object
as between fill plot one
Graph1.SetBetweenFillPlotOne(1,LinePlot1)
'Specify LinePlot2 object
as plot two
Graph1.SetBetweenFillPlotTwo(1,LinePlot2)
'Set the fill between
properties
Graph1.BetweenFill(1).PatternName = "Solid"
Graph1.BetweenFill(1).foreColor = grfColorBlue
Used by: AutoGraph object