Class ChartStillIndicatorsController
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class ChartStillIndicatorsController : ChartViewController, INotifyPropertyChanged
Constructors
ChartStillIndicatorsController()
Initializes a new instance of the ChartStillIndicatorsController class.
Declaration
public ChartStillIndicatorsController()
Fields
draggedIndicator
result
Properties
AdditionalHitTestArea
Gets or sets the size of the additional area around the indicator which will start a drag operation of the indicator.
Declaration
public float AdditionalHitTestArea { get; set; }
Property Value
|
System.Single
|
Indicators
Gets the collection of indicators that are currently shown in the chart view.
Declaration
public ChartStillIndicatorCollection Indicators { get; }
Property Value
|
ChartStillIndicatorCollection
|
Methods
ControllerAdded(ChartView)
This method is called when the controller is added to the controllers collection of a chart view.
Declaration
protected override void ControllerAdded(ChartView view)
Parameters
|
ChartView
view
The view this controller is added to. |
Overrides
ControllerRemoved()
This method is called when the controller is removed from the controllers collection of a chart view.
Declaration
protected override void ControllerRemoved()
Overrides
GetIndicatorValue(ChartStillIndicator, LineSeriesBase)
Returns the value under the given indicator for the given series.
Declaration
public double? GetIndicatorValue(ChartStillIndicator indicator, LineSeriesBase series)
Parameters
|
ChartStillIndicator
indicator
The indicator for which to calculate the value. |
|
LineSeriesBase
series
The series from which to get the value. |
Returns
|
System.Nullable<System.Double>
A double value if there is data under the indicator or null if there is no data for the given series. |
OnDraw(EventArgs)
Raises the Draw event.
Declaration
protected override ActionResult OnDraw(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Returns
|
ActionResult
|
Overrides
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
Declaration
protected override ActionResult OnMouseDown(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Returns
|
ActionResult
|
Overrides
OnMouseMove(MouseEventArgs)
Raises the MouseMove event.
Declaration
protected override ActionResult OnMouseMove(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Returns
|
ActionResult
|
Overrides
OnMouseUp(MouseEventArgs)
Raises the MouseUp event.
Declaration
protected override ActionResult OnMouseUp(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Returns
|
ActionResult
|
Overrides
OnStillIndicatorMoved(StillIndicatorEventArgs)
Raises the StillIndicatorMoved event.
Declaration
protected virtual void OnStillIndicatorMoved(StillIndicatorEventArgs e)
Parameters
|
StillIndicatorEventArgs
e
The StillIndicatorEventArgs instance containing the event data. |
OnStillIndicatorMoving(StillIndicatorEventArgs)
Raises the StillIndicatorMoving event.
Declaration
protected virtual void OnStillIndicatorMoving(StillIndicatorEventArgs e)
Parameters
|
StillIndicatorEventArgs
e
The StillIndicatorEventArgs instance containing the event data. |
Events
StillIndicatorMoved
Occurs when the user finishes dragging an indicator.
Declaration
public event StillIndicatorEventHandler StillIndicatorMoved
Event Type
|
StillIndicatorEventHandler
|
StillIndicatorMoving
Occurs when an indicator is being dragged by the user.
Declaration
public event StillIndicatorEventHandler StillIndicatorMoving
Event Type
|
StillIndicatorEventHandler
|