Class RadChartElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class RadChartElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadChartElement()
Declaration
public RadChartElement()
Properties
DrillNavigationMode
DrillNavigator
DrillPosition
Gets or sets the drill position.
Declaration
public DrillElementPosition DrillPosition { get; set; }
Property Value
DrillElementPosition
The drill position. |
LegendElement
Gets the legend element.
Declaration
public ChartLegendElement LegendElement { get; }
Property Value
ChartLegendElement
|
LegendItemsLayout
Declaration
public LegendItemsLayout LegendItemsLayout { get; set; }
Property Value
LegendItemsLayout
|
LegendItemsOrientation
Gets or sets the orientation of the legend items. The possible values are System.Windows.Forms.Orientation.Horizontal and System.Windows.Forms.Orientation.Vertical.
Declaration
public Orientation LegendItemsOrientation { get; set; }
Property Value
System.Windows.Forms.Orientation
|
LegendOffset
Determines the position of the legend element. This property only works if LegendPosition is set to Float.
Declaration
public Point LegendOffset { get; set; }
Property Value
System.Drawing.Point
|
LegendPosition
Determines the position of the legend element.
Declaration
public LegendPosition LegendPosition { get; set; }
Property Value
LegendPosition
|
LegendTitle
Gets or sets the legend title.
Declaration
public string LegendTitle { get; set; }
Property Value
System.String
|
ShowDrillNavigation
ShowLegend
Gets or sets a value indicating whether legend is displayed.
Declaration
public bool ShowLegend { get; set; }
Property Value
System.Boolean
|
ShowTitle
Gets or sets a value indicating whether title is displayed.
Declaration
public bool ShowTitle { get; set; }
Property Value
System.Boolean
|
TitleElement
Gets the chart title.
Declaration
public ChartTitleElement TitleElement { get; }
Property Value
ChartTitleElement
|
TitlePosition
Gets or sets the position of the chart title.
Declaration
public TitlePosition TitlePosition { get; set; }
Property Value
TitlePosition
|
View
Gets the chart view displayed in the chart element.
Declaration
public ChartView View { get; }
Property Value
ChartView
|
Views
Gets the chart view displayed in the chart element.
Declaration
public ChartViewCollection Views { get; }
Property Value
ChartViewCollection
|
Wrapper
Gets the wrapper.
Declaration
public ChartWrapper Wrapper { get; }
Property Value
ChartWrapper
The wrapper. |
Methods
ArrangeOverride(SizeF)
Arranges the override.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
The final size. |
Returns
System.Drawing.SizeF
|
Overrides
CreateChartLegendElement()
Creates the chart legend element.
Declaration
protected virtual ChartLegendElement CreateChartLegendElement()
Returns
ChartLegendElement
|
CreateChartTitleElement()
Creates the chart title element.
Declaration
protected virtual ChartTitleElement CreateChartTitleElement()
Returns
ChartTitleElement
|
CreateChartWrapperElement()
Creates the chart wrapper element.
Declaration
protected virtual ChartWrapper CreateChartWrapperElement()
Returns
ChartWrapper
|
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateDockLayoutElement()
Creates the dock layout element.
Declaration
protected virtual DockLayoutPanel CreateDockLayoutElement()
Returns
DockLayoutPanel
|
CreateDrillButtonsContainer()
Creates the drill buttons container.
Declaration
protected virtual RadItem CreateDrillButtonsContainer()
Returns
RadItem
|
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
|
GetLegendDockPosition()
Gets the legend dock position.
Declaration
protected virtual Dock GetLegendDockPosition()
Returns
Dock
|
GetStylableChildren()
Gets the stylable children.
Declaration
protected override IEnumerable<RadObject> GetStylableChildren()
Returns
System.Collections.Generic.IEnumerable<RadObject>
|
Overrides
GetStylableChildrenHierarchy()
Gets the stylable children hierarchy.
Declaration
protected override IEnumerable<RadObject> GetStylableChildrenHierarchy()
Returns
System.Collections.Generic.IEnumerable<RadObject>
|
Overrides
GetTitleDockPosition()
Gets the title dock position.
Declaration
protected virtual Dock GetTitleDockPosition()
Returns
Dock
|
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()
Overrides
OnGesture(GestureEventArgs)
Calls the appropriate gesture event according to the GestureType property of the event arguments.
Declaration
protected override void OnGesture(GestureEventArgs args)
Parameters
GestureEventArgs
args
The event arguments. |
Overrides
OnKeyDown(KeyEventArgs)
Raises the KeyDown event.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnKeyPress(KeyPressEventArgs)
Raises the KeyPress event.
Declaration
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters
System.Windows.Forms.KeyPressEventArgs
e
|
Overrides
OnKeyUp(KeyEventArgs)
Raises the KeyUp event.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseEnter(EventArgs)
Raises the MouseEnter event.
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseHover(EventArgs)
Raises the MouseHover event.
Declaration
protected override void OnMouseHover(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseLeave(EventArgs)
Raises the MouseLeave event.
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseMove(MouseEventArgs)
Raises the MouseMove event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseUp(MouseEventArgs)
Raises the MouseUp event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseWheel(MouseEventArgs)
Raises the MouseWheel event.
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnPanGesture(PanGestureEventArgs)
Fires the PanGesture event.
Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
PanGestureEventArgs
args
The arguments for the PanGesture event. |
Overrides
OnPressAndTapGesture(PressAndTapGestureEventArgs)
Fires the PressAndTapGesture event.
Declaration
protected override void OnPressAndTapGesture(PressAndTapGestureEventArgs args)
Parameters
PressAndTapGestureEventArgs
args
The arguments for the PressAndTapGesture event. |
Overrides
OnRenderSizeChanged(SizeChangedInfo)
Called when [render size changed].
Declaration
protected override void OnRenderSizeChanged(SizeChangedInfo info)
Parameters
SizeChangedInfo
info
The info. |
Overrides
OnRotateGesture(RotateGestureEventArgs)
Fires the RotateGesture event.
Declaration
protected override void OnRotateGesture(RotateGestureEventArgs args)
Parameters
RotateGestureEventArgs
args
The arguments for the RotateGesture event. |
Overrides
OnTwoFingerTapGesture(GestureEventArgs)
Fires the TwoFingerTapGesture event.
Declaration
protected override void OnTwoFingerTapGesture(GestureEventArgs args)
Parameters
GestureEventArgs
args
The arguments for the TwoFingerTapGesture event. |
Overrides
OnZoomGesture(ZoomGestureEventArgs)
Fires the ZoomGesture event.
Declaration
protected override void OnZoomGesture(ZoomGestureEventArgs args)
Parameters
ZoomGestureEventArgs
args
The arguments for the ZoomGesture event. |
Overrides
PaintElement(IGraphics, Single, SizeF)
Paints the element.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
The graphics. |
System.Single
angle
The angle. |
System.Drawing.SizeF
scale
The scale. |
Overrides
SetLegendDock(LegendPosition)
Sets the legend dock.
Declaration
protected virtual void SetLegendDock(LegendPosition position)
Parameters
LegendPosition
position
The position. |
SetTitleDock(TitlePosition)
Declaration
protected virtual void SetTitleDock(TitlePosition position)
Parameters
TitlePosition
position
|
ShouldFallbackToDefaultTheme()
Indicates whether to fallback to default theme.
Declaration
protected override bool ShouldFallbackToDefaultTheme()
Returns
System.Boolean
|
Overrides
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
Fires when the area requies a 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
|
Drill
Fires when the Drilling.
Declaration
public event DrillEventHandler Drill
Event Type
DrillEventHandler
|
LabelFormatting
Fires when the content of a point label needs to be formatted for display.
Declaration
public event ChartViewLabelFormattingEventHandler LabelFormatting
Event Type
ChartViewLabelFormattingEventHandler
|
RenderSizeChanged
Declaration
public event EventHandler RenderSizeChanged
Event Type
System.EventHandler
|