Click or drag to resize

ChartEventMarker Class

LightningChart .NET Help
Chart event marker class. You can mark some interesting event with a marker, which can be a of great value later on.
Inheritance Hierarchy

Namespace:  Arction.WinForms.Charting.EventMarkers
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public class ChartEventMarker : EventMarkerCommonBase<PointShapeStyle>

The ChartEventMarker type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowDragging
Gets or sets whether dragging by user is allowed.
(Inherited from DraggableObject.)
Public propertyAllowUserInteraction
Gets or sets whether allow user interaction.
(Inherited from UserInteractiveObject.)
Public propertyAssignXAxisIndex
Index of X-axis assigned to this series. Give -1 when you don't want to assign it yet to any X-axis.
Public propertyBindToXAxis
Defines if the marker is bound to X-axis by XValue.
Public propertyClipInsideGraph
Marker is clipped inside graph area.
(Inherited from EventMarkerCommonBaseSYMBOL.)
Public propertyClipInsideXRange
Clip inside X-axis range.
Public propertyHighlight
Gets or sets highlight style. Item can be highlighted by user interactive device or by code.
(Inherited from HighlightingItemBase.)
Public propertyLabel
Event marker title label.
(Inherited from EventMarkerCommonBaseSYMBOL.)
Public propertyOffset
Symbol offset from it's designated position.
(Inherited from EventMarkerCommonBaseSYMBOL.)
Public propertySymbol
Marker symbol.
(Inherited from EventMarkerCommonBaseSYMBOL.)
Public propertyVerticalPosition
Event marker vertical position.
Public propertyVisible
Defines if event marker is visible or not.
(Inherited from EventMarkerCommonBaseSYMBOL.)
Public propertyXValue
X value of event.
Top
Methods
  NameDescription
Public methodDispose
Release all resources used by this instance.
(Inherited from ChartNode.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsHighlighted
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.)
Public methodIsPositionOver
Defines if mouse is over an item.
(Inherited from EventMarkerCommonBaseSYMBOL.)
Public methodRemoveHighlight
Removes forced highlighting.
(Inherited from HighlightingItemBase.)
Public methodResetLocation
Reset location, if moved by mouse.
(Inherited from DraggableObject.)
Public methodSetHighlight
Highlights the object.

This is a kind of "forced" highlight, and the object might be highlighted even if the highlighting type (defined by Highlight property) is set to None. How the highlighting happens, if any, depends on object. Most objects use the defined type by default, and fall back to Simple highlighting if None is set.

(Inherited from HighlightingItemBase.)
Public methodSetProperCursor
Set proper cursor. Default for dragging is hand and for resize SizeAll.
(Inherited from DraggableObject.)
Public methodToString
Item to string.
(Overrides HighlightingItemBaseToString.)
Top
Events
  NameDescription
Public eventDraggedByUser
Dragged by user.
(Inherited from DraggableObject.)
Public eventHighlightedStateChanged
Event telling that highlighted state has changed. Contains information of the new state.
(Inherited from HighlightingItemBase.)
Public eventMouseClick
Mouse button has been clicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDoubleClick
Mouse button has been doubleclicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDown
Mouse button has been pressed down.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOff
Mouse has been moved outside of object.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOn
Mouse has been moved over object.
(Inherited from UserInteractiveObject.)
Public eventMouseUp
Mouse button has been released.
(Inherited from UserInteractiveObject.)
Public eventPositionChanged
Event marker X or Y value has been changed
Top
Fields
  NameDescription
Public fieldTag
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.)
Top
See Also