Updates the given chart with the given column data.
Namespace:
CenterSpace.NMath.Charting.MicrosoftAssembly: NMathStatsChartMicrosoft (in NMathStatsChartMicrosoft.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public static void Update( ref Chart chart, IDFColumn y, NMathChart..::.Unit xUnits ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub Update ( _ ByRef chart As Chart, _ y As IDFColumn, _ xUnits As NMathChart..::.Unit _ ) |
| Visual C++ |
|---|
public: static void Update( Chart^% chart, IDFColumn^ y, NMathChart..::.Unit^ xUnits ) |
Parameters
- chart
- Type:
Chart
%
A chart.
- y
- Type: CenterSpace.NMath.Stats..::.IDFColumn
The y values.
- xUnits
- Type: CenterSpace.NMath.Charting.Microsoft..::.NMathChart..::.Unit
The units for the x-axis.
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.
Titles are added only if chart does not currently contain any titles.
chart.Series[0] is replaced, or added if necessary.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the given column is not numeric. |