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
Properties
LocationAxisValues
Location as axis values.
public PointSmith LocationAxisValues { get; set; }
Property Value
Remarks
Effective only if LocationCoordinateSystem is 'AxisValues'.
TargetAxisValues
Target as axis values.
public PointSmith TargetAxisValues { get; set; }
Property Value
Methods
AdjustLocationAxisValueByUser(int)
Adjust location axis value when user interactive device moved.
protected override void AdjustLocationAxisValueByUser(int sweepPageIndex)
Parameters
sweepPageIndexintsweep page index
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingboolTrue 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
xfloatmouse X coordinate
yfloatmouse X coordinate
vButtonDownFromTargetRenderCenterPointFloatRendering location on button down
MoveValueLocationByUser(float, float, PointFloat)
Move value location by user.
protected override void MoveValueLocationByUser(float x, float y, PointFloat pnRenderLocationCoordOnButtonDown)
Parameters
xfloatX coordinate
yfloatX coordinate
pnRenderLocationCoordOnButtonDownPointFloatRendering 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
CoordsPointFloatparam 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
Remarks
Effective only if LocationCoordinateSystem is 'AxisValues'.
TargetChangedByUser
Target has been changed by user
public event AnnotationSmith.TargetChangedByUserEventHandler TargetChangedByUser