Table of Contents

Class DataCursor

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

DataCursor shows information about the closest data value to the mouse cursor.

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

Constructors

DataCursor()

Simple constructor for Form designer's list editor.

public DataCursor()

DataCursor(IChartNode)

Constructor.

public DataCursor(IChartNode owner)

Parameters

owner IChartNode

Parent.

Properties

LabelFont

Label font.

public Font LabelFont { get; set; }

Property Value

Font

RealTimeTracking

Increases performance in real-time applications by updating the cursor less frequently.

public bool RealTimeTracking { get; set; }

Property Value

bool

Results

Customization options for the result table.

public ResultTable Results { get; set; }

Property Value

ResultTable

ShowColorIndicator

Shows or hides the color indicator above the result table.

public bool ShowColorIndicator { get; set; }

Property Value

bool

ShowHaircrossLines

Shows or hides the haircross lines.

public bool ShowHaircrossLines { get; set; }

Property Value

bool

ShowLabels

Shows or hides the axis labels.

public bool ShowLabels { get; set; }

Property Value

bool

ShowResultTable

Shows or hides the result table.

public bool ShowResultTable { get; set; }

Property Value

bool

ShowTag

Shows or hides Tag indicator in the result table.

public bool ShowTag { get; set; }

Property Value

bool

ShowTrackingPoint

Shows or hides the tracking point.

public bool ShowTrackingPoint { get; set; }

Property Value

bool

SnapToNearestDataPoint

Automatically snaps to the nearest point in any direction.

public bool SnapToNearestDataPoint { get; set; }

Property Value

bool

StrTag

Tag field name in the result table if ShowTag is enabled.

public string StrTag { get; set; }

Property Value

string

Visible

DataCursor Visible state.

public bool Visible { get; set; }

Property Value

bool

Methods

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