Class EventMarkerTitle
- Namespace
- LightningChartLib.WinForms.Charting.Titles
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Event marker title. Shows text near an event marker.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class EventMarkerTitle : BorderedFilledTitle, IChartNode, IDisposable, IHighlightingItem
- Inheritance
-
EventMarkerTitle
- Implements
- Inherited Members
Constructors
EventMarkerTitle()
Constructor, for serialization purposes.
public EventMarkerTitle()
EventMarkerTitle(IChartNode)
Constructor.
public EventMarkerTitle(IChartNode owner)
Parameters
ownerIChartNodeParent.
EventMarkerTitle(IChartNode, string, AlignmentHorizontal, AlignmentVertical, Font, Color, double, int, TextShadow)
Constructor.
public EventMarkerTitle(IChartNode owner, string text, AlignmentHorizontal horizAlign, AlignmentVertical vertAlign, Font font, Color color, double angle, int distance, TextShadow shadow)
Parameters
ownerIChartNodeParent.
textstringText.
horizAlignAlignmentHorizontalHorizontal alignment.
vertAlignAlignmentVerticalVertical alignment.
fontFontFont.
colorColorColor.
angledoubleRotateAngle in degrees.
distanceintDistance from symbol.
shadowTextShadowShadow.
Properties
Distance
Text distance from symbol
public int Distance { get; set; }
Property Value
HorizontalAlign
Horizontal alignment
public AlignmentHorizontal HorizontalAlign { get; set; }
Property Value
VerticalAlign
Vertical alignment
public AlignmentVertical VerticalAlign { get; set; }
Property Value
Methods
CreateShadow()
Create shadow.
protected override void CreateShadow()