Table of Contents

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

owner IChartNode
param 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

bool

HorizontalAlign

Horizontal alignment within X axis

public AlignmentHorizontal HorizontalAlign { get; set; }

Property Value

AlignmentHorizontal

LimitInsideGraphMargins

If set, limits text inside graph margins area

public bool LimitInsideGraphMargins { get; set; }

Property Value

bool

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

bool

Offset

Title offset of its aligned position

public PointIntXY Offset { get; set; }

Property Value

PointIntXY

VerticalAlign

Vertical alignment within Y axis

public AlignmentVertical VerticalAlign { get; set; }

Property Value

AlignmentVertical

Methods

CreateShadow()

Create shadow.

protected override void CreateShadow()

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.

OnDeserialized(StreamingContext)

OnDeserialized is called just after the object has been deserialized

[OnDeserialized]
protected void OnDeserialized(StreamingContext context)

Parameters

context StreamingContext

Context

SetItemDragPosition(int, int, bool)

Set item drag end position

protected override void SetItemDragPosition(int x, int y, bool FinalPosition)

Parameters

x int
param x M:LightningChartLib.WinForms.Charting.Titles.SeriesTitle.SetItemDragPosition(System.Int32,System.Int32,System.Boolean)
y int
param y M:LightningChartLib.WinForms.Charting.Titles.SeriesTitle.SetItemDragPosition(System.Int32,System.Int32,System.Boolean)
FinalPosition bool
param 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