Class PointPolar
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Polar point.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PointPolar : PointRound, IChartNode, IDisposable, IPointPolar, IPointRound
- Inheritance
-
PointPolar
- Implements
- Inherited Members
Constructors
PointPolar()
Constructor. Initializes Angle and Amplitude to zeroes.
public PointPolar()
PointPolar(IChartNode)
Constructor for PointPolar.
public PointPolar(IChartNode owner = null)
Parameters
ownerIChartNodeparam owner M:LightningChartLib.WinForms.Charting.PointPolar.#ctor(LightningChartLib.WinForms.Charting.IChartNode)
PointPolar(double, double, IChartNode)
Constructor
public PointPolar(double angle, double amplitude, IChartNode owner = null)
Parameters
angledoubleAngle in radians.
amplitudedoubleAmplitude.
ownerIChartNodeOwner object. Defaults to null.
Properties
Amplitude
Amplitude value
public double Amplitude { get; set; }
Property Value
Angle
Angle value (degrees)
public double Angle { get; set; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingboolTrue if managed resources should be disposed, otherwise false.
SetValues(double, double)
Set all values.
public override void SetValues(double angleUi, double amplitude)
Parameters
Remarks
Does not refresh chart.
ToString()
Value to string converter. Uses default double.ToString() formatting for both values.
public override string ToString()
Returns
- string
Formatted string.
ToString(string)
Value to string converter. Uses given formatting for both values.
public string ToString(string format)
Parameters
formatstringDouble.ToString() formatting string to use with both values.
Returns
- string
Formatted string.