Table of Contents

Class SmithEventMarker

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

Polar event marker class. You can mark some interesting event with a marker, which can be a of great value later on.

public class SmithEventMarker : RoundEventMarkerBase, IChartNode, IDisposable, IHighlightingItem
Inheritance
SmithEventMarker
Implements
Inherited Members

Constructors

SmithEventMarker()

Constructor for Form editor.

public SmithEventMarker()

SmithEventMarker(ViewSmith, AxisSmith, PointShapeStyle, double, double, EventMarkerTitle, PointInt)

Polar event marker constructor

public SmithEventMarker(ViewSmith owner, AxisSmith axis, PointShapeStyle symbol, double RealValue, double ImgValue, EventMarkerTitle label, PointInt offset)

Parameters

owner ViewSmith

Parent.

axis AxisSmith

Axis to connect to.

symbol PointShapeStyle

Symbol options.

RealValue double

Real value.

ImgValue double

Imaginary value.

label EventMarkerTitle

Label.

offset PointInt

Offset.

Properties

ImgValue

Imaginary value of event.

public double ImgValue { get; set; }

Property Value

double

RealValue

Real value of event.

public double RealValue { get; set; }

Property Value

double

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.

EmitPositionChanged()

Occurs when position is changed

protected override bool EmitPositionChanged()

Returns

bool
returns M:LightningChartLib.WinForms.Charting.EventMarkers.SmithEventMarker.EmitPositionChanged

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

X-coordinate

y int

Y-coordinate

finalPosition bool
param finalPosition M:LightningChartLib.WinForms.Charting.EventMarkers.SmithEventMarker.SetItemDragPosition(System.Int32,System.Int32,System.Boolean)

ToString()

Convert class description to string.

public override string ToString()

Returns

string

String.

Events

PositionChanged

Occurs when the position of the event marker has changed.

public event SmithEventMarker.PositionChangedEventHandler PositionChanged

Event Type

SmithEventMarker.PositionChangedEventHandler