Table of Contents

Class OverlayElement

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

Overlay element base class. Overlay elements are UI controls on front of the chart.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class OverlayElement : ChartNode, IChartNode, IDisposable
Inheritance
OverlayElement
Implements
Derived
Inherited Members

Constructors

OverlayElement()

Constructor for form editor list editor.

public OverlayElement()

OverlayElement(IChartNode)

Constructor .

public OverlayElement(IChartNode owner)

Parameters

owner IChartNode

Parent.

Properties

Anchor

Rotation uses this point as a center point. Location tells where to place the anchored point on the control area. For X dimension, value 0 represents left coordinate of the object and 1 right coordinate. For Y dimension, value 0 represents top coordinate of the object and 1 bottom coordinate. To define anchor point outside the object area, define values outside range 0...1.

public PointDoubleXY Anchor { get; set; }

Property Value

PointDoubleXY

Border

Border around the object

public Border Border { get; set; }

Property Value

Border

Fill

Fill.

public Fill Fill { get; set; }

Property Value

Fill

LimitInsideGraphMargins

If set, limits the element graph margins area.

public bool LimitInsideGraphMargins { get; set; }

Property Value

bool

Location

Location where the anchor point is placed.

public PointDoubleXY Location { get; set; }

Property Value

PointDoubleXY

RotateAngle

Element rotation angle, in degrees. The rotation is done around the element's center of rotation.

public double RotateAngle { get; set; }

Property Value

double

Shadow

Shadow beneath the object

public Shadow Shadow { get; set; }

Property Value

Shadow

Size

Defines Size.

public SizeDoubleXY Size { get; set; }

Property Value

SizeDoubleXY

Visible

Is element visible.

public bool Visible { get; set; }

Property Value

bool

Methods

Construct()

Constructor.

protected virtual void Construct()

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.

ToString()

Convert class description to string.

public override string ToString()

Returns

string

String.