Table of Contents

Class AnnotationSmith

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

Annotation for ViewSmith.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class AnnotationSmith : AnnotationRound, IChartNode, IDisposable, IHighlightingItem
Inheritance
AnnotationSmith
Implements
Inherited Members

Constructors

AnnotationSmith()

Constructor for property grid editor.

public AnnotationSmith()

AnnotationSmith(ViewSmith, AxisSmith)

Constructor.

public AnnotationSmith(ViewSmith owner, AxisSmith axis)

Parameters

owner ViewSmith

Parent.

axis AxisSmith

Smith axis you want to bind.

Properties

LocationAxisValues

Location as axis values.

public PointSmith LocationAxisValues { get; set; }

Property Value

PointSmith

Remarks

Effective only if LocationCoordinateSystem is 'AxisValues'.

TargetAxisValues

Target as axis values.

public PointSmith TargetAxisValues { get; set; }

Property Value

PointSmith

Methods

AdjustLocationAxisValueByUser(int)

Adjust location axis value when user interactive device moved.

protected override void AdjustLocationAxisValueByUser(int sweepPageIndex)

Parameters

sweepPageIndex int

sweep page index

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.

HandleUserOverResizeNib()

Handle mouse over resize nib.

protected override void HandleUserOverResizeNib()

MoveTargetLocationByUser(float, float, PointFloat)

Move target by user.

protected override void MoveTargetLocationByUser(float x, float y, PointFloat vButtonDownFromTargetRenderCenter)

Parameters

x float

mouse X coordinate

y float

mouse X coordinate

vButtonDownFromTargetRenderCenter PointFloat

Rendering location on button down

MoveValueLocationByUser(float, float, PointFloat)

Move value location by user.

protected override void MoveValueLocationByUser(float x, float y, PointFloat pnRenderLocationCoordOnButtonDown)

Parameters

x float

X coordinate

y float

X coordinate

pnRenderLocationCoordOnButtonDown PointFloat

Rendering location on button down

SetLocationFromAxisValues(PointFloat)

Sets the annotation location to axis values that match the given screen coordinates.

protected override void SetLocationFromAxisValues(PointFloat Coords)

Parameters

Coords PointFloat
param Coords M:LightningChartLib.WinForms.Charting.Annotations.AnnotationSmith.SetLocationFromAxisValues(LightningChartLib.WinForms.Charting.PointFloat)

Events

LocationAxisValuesChangedByUser

Location axis values coordinates have been changed by user

public event AnnotationSmith.LocationAxisValuesChangedByUserEventHandler LocationAxisValuesChangedByUser

Event Type

AnnotationSmith.LocationAxisValuesChangedByUserEventHandler

Remarks

Effective only if LocationCoordinateSystem is 'AxisValues'.

TargetChangedByUser

Target has been changed by user

public event AnnotationSmith.TargetChangedByUserEventHandler TargetChangedByUser

Event Type

AnnotationSmith.TargetChangedByUserEventHandler