ZedGraph LogoZedGraph Class Library Documentation
DrawTitle Method (g, pane, shiftPos, scaleFactor)
NamespacesZedGraphAxisDrawTitle(Graphics, GraphPane, Single, Single)
Draw the title for this Axis.
Declaration Syntax
C#Visual BasicVisual C++
public void DrawTitle(
	Graphics g,
	GraphPane pane,
	float shiftPos,
	float scaleFactor
)
Public Sub DrawTitle ( _
	g As Graphics, _
	pane As GraphPane, _
	shiftPos As Single, _
	scaleFactor As Single _
)
public:
void DrawTitle (
	Graphics^ g, 
	GraphPane^ pane, 
	float shiftPos, 
	float scaleFactor
)
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.
shiftPos (Single)
The number of pixels to shift this axis, based on the value of Cross. A positive value is into the ChartRect relative to the default axis position.
scaleFactor (Single)
The scaling factor to be used for rendering objects. This is calculated and passed down by the parent GraphPane object using the CalcScaleFactor()() method, and is used to proportionally adjust font sizes, etc. according to the actual size of the graph.
Remarks
On entry, it is assumed that the graphics transform has been configured so that the origin is at the left side of this axis, and the axis is aligned along the X coordinate direction.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621