Class
ChartStillIndicatorsController

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
public class ChartStillIndicatorsController : ChartViewController, INotifyPropertyChanged

Inheritance: objectControllerChartViewControllerChartStillIndicatorsController

Implements: INotifyPropertyChanged

Inherited Members ChartViewController.OnMouseCaptureChanged(EventArgs)ChartViewController.OnMouseClick(MouseEventArgs)ChartViewController.OnMouseDoubleClick(MouseEventArgs)ChartViewController.OnMouseEnter(EventArgs)ChartViewController.OnMouseHover(EventArgs)ChartViewController.OnMouseLeave(EventArgs)ChartViewController.OnMouseWheel(MouseEventArgs)ChartViewController.OnKeyDown(KeyEventArgs)ChartViewController.OnKeyPress(KeyPressEventArgs)ChartViewController.OnKeyUp(KeyEventArgs)ChartViewController.OnGesture(GestureEventArgs)ChartViewController.OnZoomGesture(ZoomGestureEventArgs)ChartViewController.OnRotateGesture(RotateGestureEventArgs)ChartViewController.OnPanGesture(PanGestureEventArgs)ChartViewController.OnTwoFingerTapGesture(GestureEventArgs)ChartViewController.OnPressAndTapGesture(PressAndTapGestureEventArgs)ChartViewController.ExecuteCore(object, object)ChartViewController.ViewChartViewController.AreaController.EmptyController.OnPropertyChanged(string)Controller.ProcessNextController.PropertyChanged

Constructors

ChartStillIndicatorsController()

Initializes a new instance of the ChartStillIndicatorsController class.

Declaration

cs-api-definition
public ChartStillIndicatorsController()

Fields

draggedIndicator

Declaration

cs-api-definition
protected ChartStillIndicator draggedIndicator

Field Value

ChartStillIndicator

result

Declaration

cs-api-definition
protected ViewResult result

Field Value

ViewResult

Properties

AdditionalHitTestArea

Gets or sets the size of the additional area around the indicator which will start a drag operation of the indicator.

Declaration

cs-api-definition
public float AdditionalHitTestArea { get; set; }

Property Value

float

Indicators

Gets the collection of indicators that are currently shown in the chart view.

Declaration

cs-api-definition
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

cs-api-definition
protected override void ControllerAdded(ChartView view)

Parameters

view

ChartView

The view this controller is added to.

Overrides ChartViewController.ControllerAdded(ChartView)

ControllerRemoved()

This method is called when the controller is removed from the controllers collection of a chart view.

Declaration

cs-api-definition
protected override void ControllerRemoved()

Overrides ChartViewController.ControllerRemoved()

GetIndicatorValue(ChartStillIndicator, LineSeriesBase)

Returns the value under the given indicator for the given series.

Declaration

cs-api-definition
public double? GetIndicatorValue(ChartStillIndicator indicator, LineSeriesBase series)

Parameters

indicator

ChartStillIndicator

The indicator for which to calculate the value.

series

LineSeriesBase

The series from which to get the value.

Returns

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 event.

Declaration

cs-api-definition
protected override ActionResult OnDraw(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Returns

ActionResult

Overrides ChartViewController.OnDraw(EventArgs)

OnMouseDown(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override ActionResult OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

ActionResult

Overrides ChartViewController.OnMouseDown(MouseEventArgs)

OnMouseMove(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override ActionResult OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

ActionResult

Overrides ChartViewController.OnMouseMove(MouseEventArgs)

OnMouseUp(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override ActionResult OnMouseUp(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

ActionResult

Overrides ChartViewController.OnMouseUp(MouseEventArgs)

OnStillIndicatorMoved(StillIndicatorEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnStillIndicatorMoved(StillIndicatorEventArgs e)

Parameters

e

StillIndicatorEventArgs

The StillIndicatorEventArgs instance containing the event data.

OnStillIndicatorMoving(StillIndicatorEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnStillIndicatorMoving(StillIndicatorEventArgs e)

Parameters

e

StillIndicatorEventArgs

The StillIndicatorEventArgs instance containing the event data.

Events

StillIndicatorMoved

Occurs when the user finishes dragging an indicator.

Declaration

cs-api-definition
public event StillIndicatorEventHandler StillIndicatorMoved

Event Value

StillIndicatorEventHandler

StillIndicatorMoving

Occurs when an indicator is being dragged by the user.

Declaration

cs-api-definition
public event StillIndicatorEventHandler StillIndicatorMoving

Event Value

StillIndicatorEventHandler