Updates the given chart with the specified function.

Namespace:  CenterSpace.NMath.Charting.Microsoft
Assembly:  NMathChartMicrosoft (in NMathChartMicrosoft.dll) Version: 5.1.0.0

Syntax

C#
public static void Update(
	ref Chart chart,
	Polynomial f,
	double xmin,
	double xmax,
	int numInterpolatedValues
)
Visual Basic (Declaration)
Public Shared Sub Update ( _
	ByRef chart As Chart, _
	f As Polynomial, _
	xmin As Double, _
	xmax As Double, _
	numInterpolatedValues As Integer _
)
Visual C++
public:
static void Update(
	Chart^% chart, 
	Polynomial^ f, 
	double xmin, 
	double xmax, 
	int numInterpolatedValues
)

Parameters

chart
Type: Chart %
A chart.
f
Type: CenterSpace.NMath.Core..::.Polynomial
The function.
xmin
Type: System..::.Double
The starting x value.
xmax
Type: System..::.Double
The ending x value.
numInterpolatedValues
Type: System..::.Int32
The number of interpolated values.

Remarks

A new, default ChartArea is added if one does not exist, otherwise chart.ChartAreas[0] is used. Axis titles, and DefaultAxisTitleFont and DefaultMajorGridLineColor, only have an effect if a new ChartArea is added.
Titles are added only if chart does not currently contain any titles.
chart.Series[0] is replaced, or added if necessary.

See Also