New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

Initializes a new instance of the ChartStillIndicatorsController class.

C#
public ChartStillIndicatorsController()

Fields

C#
protected ChartStillIndicator draggedIndicator
C#
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.

C#
public float AdditionalHitTestArea { get; set; }

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

C#
public ChartStillIndicatorCollection Indicators { get; }

Methods

This method is called when the controller is added to the controllers collection of a chart view.

C#
protected override void ControllerAdded(ChartView view)
Parameters:viewChartView

The view this controller is added to.

Overrides: ChartViewController.ControllerAdded(ChartView)

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

C#
protected override void ControllerRemoved()

Overrides: ChartViewController.ControllerRemoved()

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

C#
public double? GetIndicatorValue(ChartStillIndicator indicator, LineSeriesBase series)
Parameters:indicatorChartStillIndicator

The indicator for which to calculate the value.

seriesLineSeriesBase

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.

Raises the event.

C#
protected override ActionResult OnDraw(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

Returns:

ActionResult

Overrides: ChartViewController.OnDraw(EventArgs)

Raises the event.

C#
protected override ActionResult OnMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs instance containing the event data.

Returns:

ActionResult

Overrides: ChartViewController.OnMouseDown(MouseEventArgs)

Raises the event.

C#
protected override ActionResult OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs instance containing the event data.

Returns:

ActionResult

Overrides: ChartViewController.OnMouseMove(MouseEventArgs)

Raises the event.

C#
protected override ActionResult OnMouseUp(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs instance containing the event data.

Returns:

ActionResult

Overrides: ChartViewController.OnMouseUp(MouseEventArgs)

Raises the event.

C#
protected virtual void OnStillIndicatorMoved(StillIndicatorEventArgs e)
Parameters:eStillIndicatorEventArgs

The StillIndicatorEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnStillIndicatorMoving(StillIndicatorEventArgs e)
Parameters:eStillIndicatorEventArgs

The StillIndicatorEventArgs instance containing the event data.

Events

Occurs when the user finishes dragging an indicator.

C#
public event StillIndicatorEventHandler StillIndicatorMoved

Occurs when an indicator is being dragged by the user.

C#
public event StillIndicatorEventHandler StillIndicatorMoving