Class ChartObject
- Namespace
- ATAS.Indicators
- Assembly
- ATAS.Indicators.dll
Base class for objects in a chart.
[DataContract]
public class ChartObject : TrackedPropertyBase
- Inheritance
-
objectChartObject
- Derived
- Inherited Members
- Extension Methods
Constructors
ChartObject()
Initializes a visible, unlocked chart object.
public ChartObject()
Properties
AllowedInteraction
Gets a value indicating whether interaction with the chart object is allowed.
[Browsable(false)]
public bool AllowedInteraction { get; }
Property Value
- bool
Locked
Gets or sets a value indicating whether the chart object is locked.
[DataMember]
[Browsable(false)]
public bool Locked { get; set; }
Property Value
- bool
Visible
Gets or sets a value indicating whether the chart object is visible.
[DataMember]
[Browsable(false)]
public bool Visible { get; set; }
Property Value
- bool
Methods
GetCursor(RenderControlMouseEventArgs)
Gets the cursor to display when the mouse is over the chart object.
public virtual StdCursor GetCursor(RenderControlMouseEventArgs e)
Parameters
eRenderControlMouseEventArgsThe mouse event arguments.
Returns
- StdCursor
The standard cursor to display.
LockedOnChanged()
Called when the Locked property changes.
protected virtual void LockedOnChanged()
OnVisibleChanged()
Called when the Visible property changes.
protected virtual void OnVisibleChanged()
ProcessKeyDown(KeyEventArgs)
Processes a key down event on the chart object.
public virtual bool ProcessKeyDown(KeyEventArgs e)
Parameters
eKeyEventArgsThe key event arguments.
Returns
- bool
trueif the event was handled; otherwise,false.
ProcessKeyUp(KeyEventArgs)
Processes a key up event on the chart object.
public virtual bool ProcessKeyUp(KeyEventArgs e)
Parameters
eKeyEventArgsThe key event arguments.
Returns
- bool
trueif the event was handled; otherwise,false.
ProcessMouseClick(RenderControlMouseEventArgs)
Processes a mouse click event on the chart object.
public virtual bool ProcessMouseClick(RenderControlMouseEventArgs e)
Parameters
eRenderControlMouseEventArgsThe mouse event arguments.
Returns
- bool
trueif the event was handled; otherwise,false.
ProcessMouseDoubleClick(RenderControlMouseEventArgs)
Processes a mouse double click event on the chart object.
public virtual bool ProcessMouseDoubleClick(RenderControlMouseEventArgs e)
Parameters
eRenderControlMouseEventArgsThe mouse event arguments.
Returns
- bool
trueif the event was handled; otherwise,false.
ProcessMouseDown(RenderControlMouseEventArgs)
Processes a mouse down event on the chart object.
public virtual bool ProcessMouseDown(RenderControlMouseEventArgs e)
Parameters
eRenderControlMouseEventArgsThe mouse event arguments.
Returns
- bool
trueif the event was handled; otherwise,false.
ProcessMouseMove(RenderControlMouseEventArgs)
Processes a mouse move event on the chart object.
public virtual bool ProcessMouseMove(RenderControlMouseEventArgs e)
Parameters
eRenderControlMouseEventArgsThe mouse event arguments.
Returns
- bool
trueif the event was handled; otherwise,false.
ProcessMouseUp(RenderControlMouseEventArgs)
Processes a mouse up event on the chart object.
public virtual bool ProcessMouseUp(RenderControlMouseEventArgs e)
Parameters
eRenderControlMouseEventArgsThe mouse event arguments.
Returns
- bool
trueif the event was handled; otherwise,false.
ProcessMouseWheel(int)
Processes a mouse wheel event on the chart object.
public virtual bool ProcessMouseWheel(int delta)
Parameters
deltaintThe mouse wheel delta value.
Returns
- bool
trueif the event was handled; otherwise,false.