Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class ChartStillIndicatorsController : ChartViewController, INotifyPropertyChanged
Inheritance: objectControllerChartViewControllerChartStillIndicatorsController
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChartStillIndicatorsController class.
public ChartStillIndicatorsController()
Fields
protected ChartStillIndicator draggedIndicator
protected ViewResult result
Properties
Gets or sets the size of the additional area around the indicator which will start a drag operation of the indicator.
public float AdditionalHitTestArea { get; set; }
Gets the collection of indicators that are currently shown in the chart view.
public ChartStillIndicatorCollection Indicators { get; }
Methods
This method is called when the controller is added to the controllers collection of a chart view.
protected override void ControllerAdded(ChartView view)
The view this controller is added to.
Overrides:
This method is called when the controller is removed from the controllers collection of a chart view.
protected override void ControllerRemoved()
Overrides:
Returns the value under the given indicator for the given series.
public double? GetIndicatorValue(ChartStillIndicator indicator, LineSeriesBase series)
The indicator for which to calculate the value.
seriesLineSeriesBaseThe 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.
Raises the event.
protected override ActionResult OnMouseDown(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Returns:Overrides:
Raises the event.
protected override ActionResult OnMouseMove(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Returns:Overrides:
Raises the event.
protected override ActionResult OnMouseUp(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Returns:Overrides:
Raises the event.
protected virtual void OnStillIndicatorMoved(StillIndicatorEventArgs e)
The StillIndicatorEventArgs instance containing the event data.
Raises the event.
protected virtual void OnStillIndicatorMoving(StillIndicatorEventArgs e)
The StillIndicatorEventArgs instance containing the event data.
Events
Occurs when the user finishes dragging an indicator.
public event StillIndicatorEventHandler StillIndicatorMoved
Occurs when an indicator is being dragged by the user.
public event StillIndicatorEventHandler StillIndicatorMoving