ZedGraph LogoZedGraph Class Library Documentation
SetMinSpaceBuffer Method (g, pane, bufferFraction, isGrowOnly)
NamespacesZedGraphAxisSetMinSpaceBuffer(Graphics, GraphPane, Single, Boolean)
This method will set the MinSpace property for this Axis using the currently required space multiplied by a fraction ().
Declaration Syntax
C#Visual BasicVisual C++
public void SetMinSpaceBuffer(
	Graphics g,
	GraphPane pane,
	float bufferFraction,
	bool isGrowOnly
)
Public Sub SetMinSpaceBuffer ( _
	g As Graphics, _
	pane As GraphPane, _
	bufferFraction As Single, _
	isGrowOnly As Boolean _
)
public:
void SetMinSpaceBuffer (
	Graphics^ g, 
	GraphPane^ pane, 
	float bufferFraction, 
	bool isGrowOnly
)
Parameters
g (Graphics)
A graphic device object to be drawn into. This is normally e.Graphics from the PaintEventArgs argument to the Paint() method.
pane (GraphPane)
A reference to the GraphPane object that is the parent or owner of this object.
bufferFraction (Single)
The amount of space to allocate for the axis, expressed as a fraction of the currently required space. For example, a value of 1.2 would allow for 20% extra above the currently required space.
isGrowOnly (Boolean)
If true, then this method will only modify the MinSpace property if the calculated result is more than the current value.
Remarks
The currently required space is calculated using CalcSpace(Graphics, GraphPane, Single, Single%), and is based on current data ranges, font sizes, etc. The "space" is actually the amount of space required to fit the tic marks, scale labels, and axis title.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621