ClassChartStillIndicatorsController
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class ChartStillIndicatorsController : ChartViewController, INotifyPropertyChanged
Inheritance: objectControllerChartViewControllerChartStillIndicatorsController
Implements:
Inherited Members
Constructors
ChartStillIndicatorsController()
Initializes a new instance of the ChartStillIndicatorsController class.
Declaration
public ChartStillIndicatorsController()
Fields
draggedIndicator
Declaration
protected ChartStillIndicator draggedIndicator
Field Value
Properties
AdditionalHitTestArea
Gets or sets the size of the additional area around the indicator which will start a drag operation of the indicator.
Indicators
Gets the collection of indicators that are currently shown in the chart view.
Declaration
public ChartStillIndicatorCollection Indicators { get; }
Property Value
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
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
indicator
The indicator for which to calculate the value.
series
The series from which to get the value.
Returns
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 event.
Declaration
protected override ActionResult OnDraw(EventArgs e)
Parameters
e
The EventArgs instance containing the event data.
Returns
Overrides
OnMouseDown(MouseEventArgs)
Raises the event.
Declaration
protected override ActionResult OnMouseDown(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Returns
Overrides
OnMouseMove(MouseEventArgs)
Raises the event.
Declaration
protected override ActionResult OnMouseMove(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Returns
Overrides
OnMouseUp(MouseEventArgs)
Raises the event.
Declaration
protected override ActionResult OnMouseUp(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Returns
Overrides
OnStillIndicatorMoved(StillIndicatorEventArgs)
Raises the event.
Declaration
protected virtual void OnStillIndicatorMoved(StillIndicatorEventArgs e)
Parameters
e
The StillIndicatorEventArgs instance containing the event data.
OnStillIndicatorMoving(StillIndicatorEventArgs)
Raises the event.
Declaration
protected virtual void OnStillIndicatorMoving(StillIndicatorEventArgs e)
Parameters
e
The StillIndicatorEventArgs instance containing the event data.
Events
StillIndicatorMoved
Occurs when the user finishes dragging an indicator.
Declaration
public event StillIndicatorEventHandler StillIndicatorMoved
Event Value
StillIndicatorMoving
Occurs when an indicator is being dragged by the user.
Declaration
public event StillIndicatorEventHandler StillIndicatorMoving
Event Value