ZedGraph LogoZedGraph Class Library Documentation
DrawCurve Method (g, pane, curve, scaleFactor)
NamespacesZedGraphLineDrawCurve(Graphics, GraphPane, CurveItem, Single)
Draw the this CurveItem to the specified Graphics device. The format (stair-step or line) of the curve is defined by the StepType property. The routine only draws the line segments; the symbols are drawn by the Draw(Graphics, GraphPane, LineItem, Single, Boolean) method. This method is normally only called by the Draw method of the CurveItem object
Declaration Syntax
C#Visual BasicVisual C++
public void DrawCurve(
	Graphics g,
	GraphPane pane,
	CurveItem curve,
	float scaleFactor
)
Public Sub DrawCurve ( _
	g As Graphics, _
	pane As GraphPane, _
	curve As CurveItem, _
	scaleFactor As Single _
)
public:
void DrawCurve (
	Graphics^ g, 
	GraphPane^ pane, 
	CurveItem^ curve, 
	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.
curve (CurveItem)
A LineItem representing this curve.
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.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621