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
ownerIChartNodeParent.
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
Border
Border around the object
public Border Border { get; set; }
Property Value
Fill
Fill.
public Fill Fill { get; set; }
Property Value
LimitInsideGraphMargins
If set, limits the element graph margins area.
public bool LimitInsideGraphMargins { get; set; }
Property Value
Location
Location where the anchor point is placed.
public PointDoubleXY Location { get; set; }
Property Value
RotateAngle
Element rotation angle, in degrees. The rotation is done around the element's center of rotation.
public double RotateAngle { get; set; }
Property Value
Shadow
Shadow beneath the object
public Shadow Shadow { get; set; }
Property Value
Size
Defines Size.
public SizeDoubleXY Size { get; set; }
Property Value
Visible
Is element visible.
public bool Visible { get; set; }
Property Value
Methods
Construct()
Constructor.
protected virtual void Construct()
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
ToString()
Convert class description to string.
public override string ToString()
Returns
- string
String.