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