SciChart.Charting Assembly > SciChart.Charting.Model.DataSeries Namespace > NonUniformVectorFieldDataSeries Class > FromPolar Method : FromPolar(Double[],Double[],IList<Double>,IList<Double>,VectorAngleUnit,IList<IPointMetadata>,FieldDataDistributionArgs) Method
The X positions of each vector origin.
The Y positions of each vector origin.
The direction angle of each vector.
The magnitude (length) of each vector.
Specifies whether angle values are in VectorAngleUnit.Radians or VectorAngleUnit.Degrees.
Optional per-point metadata.
Optional distribution hints that allow the data series to skip expensive O(N) scans.
FromPolar(Double[],Double[],IList<Double>,IList<Double>,VectorAngleUnit,IList<IPointMetadata>,FieldDataDistributionArgs) Method
Creates a new NonUniformVectorFieldDataSeries from polar (angle, magnitude) inputs with optional distribution hints.
Syntax

Parameters

x
The X positions of each vector origin.
y
The Y positions of each vector origin.
angle
The direction angle of each vector.
magnitude
The magnitude (length) of each vector.
angleUnit
Specifies whether angle values are in VectorAngleUnit.Radians or VectorAngleUnit.Degrees.
metadata
Optional per-point metadata.
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