SciChart.Charting Assembly > SciChart.Charting.Model.DataSeries Namespace > UniformVectorFieldDataSeries Class > FromPolar Method : FromPolar(Double,Double,Double,Double,Double[,],Double[,],VectorAngleUnit,IPointMetadata[,],FieldDataDistributionArgs) Method
The X coordinate of the first grid column.
The spacing between adjacent grid columns.
The Y coordinate of the first grid row.
The spacing between adjacent grid rows.
2D array of direction angles, indexed as [xi, yi].
2D array of magnitudes, indexed as [xi, yi]. Must have the same dimensions as angle.
Specifies whether angle values are in VectorAngleUnit.Radians or VectorAngleUnit.Degrees.
Optional 2D metadata array indexed as [xi, yi], matching the grid dimensions of angle.
Optional distribution hints that allow the data series to skip expensive O(N) scans.
FromPolar(Double,Double,Double,Double,Double[,],Double[,],VectorAngleUnit,IPointMetadata[,],FieldDataDistributionArgs) Method
Creates a new UniformVectorFieldDataSeries from polar (angle, magnitude) inputs with optional distribution hints.
Syntax

Parameters

xStart
The X coordinate of the first grid column.
xStep
The spacing between adjacent grid columns.
yStart
The Y coordinate of the first grid row.
yStep
The spacing between adjacent grid rows.
angle
2D array of direction angles, indexed as [xi, yi].
magnitude
2D array of magnitudes, indexed as [xi, yi]. Must have the same dimensions as angle.
angleUnit
Specifies whether angle values are in VectorAngleUnit.Radians or VectorAngleUnit.Degrees.
metadata
Optional 2D metadata array indexed as [xi, yi], matching the grid dimensions of angle.
args
Optional distribution hints that allow the data series to skip expensive O(N) scans.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also