Table of Contents

Class PointUnitCircle

Namespace
LightningChartLib.WinForms.Charting
Assembly
LightningChart.WinForms.Charting.NET4.dll

UnitCircle coordinate point. X and Y coordinates have normed values in range [-1,1]. Point (0,0) points is at the center of the circle.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class PointUnitCircle : PointRound, IChartNode, IDisposable, IPointUnitCircle, IPointRound
Inheritance
PointUnitCircle
Implements
Inherited Members

Constructors

PointUnitCircle()

LightningChartLib.WinForms.Charting.PointUnitCircle
public PointUnitCircle()

PointUnitCircle(IChartNode)

Constructor for Form designer list editor

public PointUnitCircle(IChartNode owner = null)

Parameters

owner IChartNode
param owner M:LightningChartLib.WinForms.Charting.PointUnitCircle.#ctor(LightningChartLib.WinForms.Charting.IChartNode)

PointUnitCircle(double, double, IChartNode)

Constructor

public PointUnitCircle(double X, double Y, IChartNode owner = null)

Parameters

X double

X coordinate

Y double

Y coordinate

owner IChartNode

Owner object. Defaults to null.

Properties

X

X direction coordinate

public double X { get; set; }

Property Value

double

Y

Y direction coordinate

public double Y { get; set; }

Property Value

double

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed, otherwise false.

SetValues(PointUnitCircle)

Set all values, except owner.

public void SetValues(PointUnitCircle src)

Parameters

src PointUnitCircle

Source point to take values from.

SetValues(double, double)

Set all values.

public override void SetValues(double X, double Y)

Parameters

X double

X coordinate

Y double

Y coordinate

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

format string

Double.ToString() formatting string to use with both values.

Returns

string

Formatted string