Class SeriesTitle
- Namespace
- LightningChartLib.WinForms.Charting.Titles
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Series title class. It's a base class for most of series titles
[TypeConverter(typeof(ExpandableObjectConverter))]
public class SeriesTitle : BorderedFilledTitle, IChartNode, IDisposable, IHighlightingItem
- Inheritance
-
SeriesTitle
- Implements
- Inherited Members
Constructors
SeriesTitle()
Constructor, for serialization purposes
public SeriesTitle()
SeriesTitle(IChartNode)
Constructor
public SeriesTitle(IChartNode owner)
Parameters
ownerIChartNodeparam owner M:LightningChartLib.WinForms.Charting.Titles.SeriesTitle.#ctor(LightningChartLib.WinForms.Charting.IChartNode)
Properties
AutoPlacement
Place title automatically on chart near the series data.
public bool AutoPlacement { get; set; }
Property Value
HorizontalAlign
Horizontal alignment within X axis
public AlignmentHorizontal HorizontalAlign { get; set; }
Property Value
LimitInsideGraphMargins
If set, limits text inside graph margins area
public bool LimitInsideGraphMargins { get; set; }
Property Value
LockAutoPosition
Lock title position to current X and Y data values. Prevent automatic title placement routine from relocating the title.
public bool LockAutoPosition { get; set; }
Property Value
Offset
Title offset of its aligned position
public PointIntXY Offset { get; set; }
Property Value
VerticalAlign
Vertical alignment within Y axis
public AlignmentVertical VerticalAlign { get; set; }
Property Value
Methods
CreateShadow()
Create shadow.
protected override void CreateShadow()
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
OnDeserialized(StreamingContext)
OnDeserialized is called just after the object has been deserialized
[OnDeserialized]
protected void OnDeserialized(StreamingContext context)
Parameters
contextStreamingContextContext
SetItemDragPosition(int, int, bool)
Set item drag end position
protected override void SetItemDragPosition(int x, int y, bool FinalPosition)
Parameters
xintparam x M:LightningChartLib.WinForms.Charting.Titles.SeriesTitle.SetItemDragPosition(System.Int32,System.Int32,System.Boolean) yintparam y M:LightningChartLib.WinForms.Charting.Titles.SeriesTitle.SetItemDragPosition(System.Int32,System.Int32,System.Boolean) FinalPositionboolparam FinalPosition M:LightningChartLib.WinForms.Charting.Titles.SeriesTitle.SetItemDragPosition(System.Int32,System.Int32,System.Boolean)
ToString()
Item to string.
public override string ToString()
Returns
- string
returns M:LightningChartLib.WinForms.Charting.Titles.SeriesTitle.ToString