ChartWrapper
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class ChartWrapper : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IChartViewHost
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementChartWrapper...
Implements:
Inherited Members
Constructors
public ChartWrapper()
Properties
Gets or sets the index of the current view.
public int CurrentViewIndex { get; set; }
The index of the current view.
Gets or sets the view.
public ChartView View { get; set; }
The view.
Implements:
Gets or sets the views.
public ChartViewCollection Views { get; set; }
The views.
Methods
Arranges in the final rectangle.
protected override void ArrangeCore(RectangleF finalRect)
The final rect.
Overrides:
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Called when the DPI scale is changed.
public override void DpiScaleChanged(SizeF scaleFactor)
The scale factor.
Overrides:
Drills to top.
Initializes the fields.
protected override void InitializeFields()
Overrides:
Raises the event.
protected virtual void OnContextMenuOpening(ChartViewContextMenuOpeningEventArgs e)
The ChartViewContextMenuOpeningEventArgs instance containing the event data.
Raises the event.
protected virtual void OnCreatePoint(ChartViewCreatePointEventArgs e)
The ChartViewCreatePointEventArgs instance containing the event data.
Raises the event.
protected virtual void OnCreatePointElement(ChartViewCreatePointElementEventArgs e)
The ChartViewCreatePointElementEventArgs instance containing the event data.
Called when creating the renderer.
protected virtual void OnCreateRenderer(object sender, ChartViewCreateRendererEventArgs e)
The sender.
eChartViewCreateRendererEventArgsThe ChartViewCreateRendererEventArgs instance containing the event data.
Called when a data error occurs.
protected virtual void OnDataError(Exception exception)
The exception.
Called when drill occurs.
public void OnDrill(object sender, DrillEventArgs e)
The sender.
eDrillEventArgsThe DrillEventArgs instance containing the event data.
Raises the LabelFormatting event
protected virtual void OnLabelFormatting(object sender, ChartViewLabelFormattingEventArgs e)
Raises the event.
protected virtual void OnSelectedPointChanged(ChartViewSelectedPointChangedEventArgs e)
The ChartViewSelectedPointChangedEventArgs instance containing the event data.
Raises the event.
protected virtual void OnSelectedPointChanging(ChartViewSelectedPointChangingEventArgs e)
The ChartViewSelectedPointChangingEventArgs instance containing the event data.
Processes the result.
protected virtual bool ProcessResult(ActionResult actionResult)
The action result.
Returns:Updates the controllers area.
public virtual void UpdateControlersArea()
Fires on gesture.
protected void WrapperCallOnGesture(GestureEventArgs e)
The GestureEventArgs instance containing the event data.
Fires on key down.
protected void WrapperCallOnKeyDown(KeyEventArgs e)
The KeyEventArgs instance containing the event data.
Fires on key press.
protected void WrapperCallOnKeyPress(KeyPressEventArgs e)
The KeyPressEventArgs instance containing the event data.
Fires on key up.
protected void WrapperCallOnKeyUp(KeyEventArgs e)
The KeyEventArgs instance containing the event data.
Fires on mouse click.
protected virtual void WrapperCallOnMouseClick(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Fires on mouse double click.
protected void WrapperCallOnMouseDoubleClick(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Fires on mouse down.
protected void WrapperCallOnMouseDown(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Calls MouseMove.
protected void WrapperCallOnMouseMove(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Fires on mouse up.
protected void WrapperCallOnMouseUp(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Fires on mouse wheel.
protected void WrapperCallOnMouseWheel(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Fires on pan gesture.
protected void WrapperCallOnPanGesture(PanGestureEventArgs e)
The PanGestureEventArgs instance containing the event data.
Fires on press and tap gesture.
protected void WrapperCallOnPressAndTapGesture(PressAndTapGestureEventArgs e)
The PressAndTapGestureEventArgs instance containing the event data.
Fires on rotate gesture.
protected void WrapperCallOnRotateGesture(RotateGestureEventArgs e)
The RotateGestureEventArgs instance containing the event data.
Fires on two finger tap gesture.
protected void WrapperCallOnTwoFingerTapGesture(GestureEventArgs e)
The GestureEventArgs instance containing the event data.
Fires on zoom gesture.
protected void WrapperCallOnZoomGesture(ZoomGestureEventArgs args)
The ZoomGestureEventArgs instance containing the event data.
Events
Occurs when context menu is opening.
public event ChartViewContextMenuOpeningEventHandler ContextMenuOpening
Occurs when a new DataPoint is created.
public event ChartViewCreatePointEventHandler CreatePoint
Occurs when a new DataPointElement is created.
public event ChartViewCreatePointElementEventHandler CreatePointElement
Fired when the area requies an renderer for the first time.
public event ChartViewCreateRendererEventHandler CreateRenderer
Occurs when the Current View Index is changed
public event EventHandler CurrentViewIndexChanged
Occurs when a data error is detected.
public event ChartViewDataErrorEventHandler DataError
Occurs when [drill].
public event DrillEventHandler Drill
Fires when the content of a point label needs to be formatted for display.
[Browsable(true)]
public event ChartViewLabelFormattingEventHandler LabelFormatting
Occurs when the selected point changes
public event ChartViewSelectedChangedEventHandler SelectedPointChanged
Occurs when the selected point is changing
public event ChartViewSelectedChangingEventHandler SelectedPointChanging