Updates the given chart with the magnitude of the given x-y complex data.

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

Syntax

C#
public static void Update(
	ref Chart chart,
	FloatComplexVector x,
	FloatComplexVector y
)
Visual Basic (Declaration)
Public Shared Sub Update ( _
	ByRef chart As Chart, _
	x As FloatComplexVector, _
	y As FloatComplexVector _
)
Visual C++
public:
static void Update(
	Chart^% chart, 
	FloatComplexVector^ x, 
	FloatComplexVector^ y
)

Parameters

chart
Type: Chart %
A chart.
x
Type: CenterSpace.NMath.Core..::.FloatComplexVector
The x values.
y
Type: CenterSpace.NMath.Core..::.FloatComplexVector
The y 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.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if x and y have different lengths.

See Also