Returns a line chart containing the given column data.
Namespace:
CenterSpace.NMath.Charting.MicrosoftAssembly: NMathStatsChartMicrosoft (in NMathStatsChartMicrosoft.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public static Chart ToChart( IDFColumn y, NMathChart..::.Unit xUnits ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function ToChart ( _ y As IDFColumn, _ xUnits As NMathChart..::.Unit _ ) As Chart |
| Visual C++ |
|---|
public: static Chart^ ToChart( IDFColumn^ y, NMathChart..::.Unit^ xUnits ) |
Parameters
- y
- Type: CenterSpace.NMath.Stats..::.IDFColumn
The y values.
- xUnits
- Type: CenterSpace.NMath.Charting.Microsoft..::.NMathChart..::.Unit
The units for the x-axis.
Return Value
A new chart.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the given column is not numeric. |