Updates the given chart with the given data.
Namespace:
CenterSpace.NMath.Charting.MicrosoftAssembly: NMathChartMicrosoft (in NMathChartMicrosoft.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static void Update( ref Chart chart, DoubleVector[] data, NMathChart..::.Unit xUnits ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub Update ( _ ByRef chart As Chart, _ data As DoubleVector(), _ xUnits As NMathChart..::.Unit _ ) |
| Visual C++ |
|---|
public: static void Update( Chart^% chart, array<DoubleVector^>^ data, NMathChart..::.Unit^ xUnits ) |
Parameters
- chart
- Type:
Chart
%
A chart.
- data
- Type: array<
CenterSpace.NMath.Core..::.DoubleVector
>[]()[]
The data.
- 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.
The first data.Length data series are replaced, or added if necessary.
Titles are added only if chart does not currently contain any titles.
The first data.Length data series are replaced, or added if necessary.