Updates the given chart with the columns of the given data frame.

Namespace:  CenterSpace.NMath.Charting.Microsoft
Assembly:  NMathStatsChartMicrosoft (in NMathStatsChartMicrosoft.dll) Version: 3.4.0.0

Syntax

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

Parameters

chart
Type: Chart %
A chart.
data
Type: CenterSpace.NMath.Stats..::.DataFrame
The data.

Return Value

A new chart.

Remarks

Non-numeric columns are ignored.
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.
The first data.Cols data series are replaced, or added if necessary.

See Also