Class
RadChartView

Represents a comprehensive chart control that provides data visualization capabilities including various chart types, series, axes, legends, and interactive features such as zooming, panning, and drill-down navigation.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data Controls")]
[ComplexBindingProperties("DataSource", "DataMember")]
public class RadChartView : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IRangeSelectorControl, IPrintable

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadChartView

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedIPrintableIRangeSelectorControlISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window

Inherited Members RadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.OnKeyDown(KeyEventArgs)RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseMove(MouseEventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnGotFocus(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnParentChanged(EventArgs)RadControl.OnVisibleChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnBindingContextChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.WndProc(ref Message)RadControl.OnInvalidated(RadElement)RadControl.OnCaptureLosing()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.IsInputKey(Keys)RadControl.GetInputElement()RadControl.BeginInit()RadControl.EndInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.TextRadControl.EnableThemingRadControl.ThemeClassNameRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.CreateParamsScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateAccessibilityInstance()Control.CreateControlsInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseDoubleClick(MouseEventArgs)Control.OnMouseClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogChar(char)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

RadChartView()

Initializes a new instance of the RadChartView class with default settings and control styles.

Declaration

cs-api-definition
public RadChartView()

Properties

Annotations

Collection of the ChartAnnotations

Declaration

cs-api-definition
[Browsable(true)]
public ChartAnnotationCollection Annotations { get; }

Property Value

ChartAnnotationCollection

Area

Gets the currently active ChartArea that defines the plotting region and coordinate system for data visualization.

Declaration

cs-api-definition
[Browsable(false)]
public ChartArea Area { get; }

Property Value

ChartArea

AreaType

Gets or sets the chart area type, which determines the coordinate system and layout for data visualization (Cartesian, Pie, or Polar).

Declaration

cs-api-definition
[Browsable(true)]
public ChartAreaType AreaType { get; set; }

Property Value

ChartAreaType

Axes

Collection of the Axes

Declaration

cs-api-definition
[Browsable(true)]
public ChartAxisCollection Axes { get; }

Property Value

ChartAxisCollection

ChartElement

Gets the RadChartElement that represents the main visual component containing the chart display, legend, and title elements.

Declaration

cs-api-definition
public RadChartElement ChartElement { get; }

Property Value

RadChartElement

Controllers

Collection of the Controllers

Declaration

cs-api-definition
[Browsable(false)]
public ChartViewControllerCollection Controllers { get; }

Property Value

ChartViewControllerCollection

DataMember

Gets or sets the name of the list or table in the data source for which the ChartSeries is bound.

Declaration

cs-api-definition
[Browsable(false)]
public string DataMember { get; set; }

Property Value

string

DataSource

Gets or sets the data source of the ChartSeries.

Declaration

cs-api-definition
[Browsable(true)]
public object DataSource { get; set; }

Property Value

object

DefaultSize

Gets the default size of the chart view control.

Declaration

cs-api-definition
protected override Size DefaultSize { get; }

Property Value

Size

Overrides Control.DefaultSize

DrillNavigationMode

Gets or sets the navigation mode for drill-down functionality, determining how drill navigation is presented to users.

Declaration

cs-api-definition
[Browsable(false)]
public DrillNavigationMode DrillNavigationMode { get; set; }

Property Value

DrillNavigationMode

LegendItemsLayout

Gets or sets the legend items layout type. The possible values are Stack and Wrap.

Declaration

cs-api-definition
public LegendItemsLayout LegendItemsLayout { get; set; }

Property Value

LegendItemsLayout

LegendItemsOrientation

Gets or sets the orientation of the legend items. The possible values are Horizontal and Vertical.

Declaration

cs-api-definition
public Orientation LegendItemsOrientation { get; set; }

Property Value

Orientation

LegendPosition

Determines the position of the legend element.

Declaration

cs-api-definition
public LegendPosition LegendPosition { get; set; }

Property Value

LegendPosition

LegendTitle

Gets or sets the legend title.

Declaration

cs-api-definition
public string LegendTitle { get; set; }

Property Value

string

SelectionMode

Gets or sets the selection mode for data points, determining whether no selection, single, or multiple data points can be selected.

Declaration

cs-api-definition
[Browsable(true)]
public ChartSelectionMode SelectionMode { get; set; }

Property Value

ChartSelectionMode

Series

Collection of the ChartSeries

Declaration

cs-api-definition
[Browsable(true)]
public ChartSeriesCollection Series { get; }

Property Value

ChartSeriesCollection

ShowDrillNavigation

Gets or sets a value indicating whether DrillNavigation is displayed.

Declaration

cs-api-definition
public bool ShowDrillNavigation { get; set; }

Property Value

bool

ShowGrid

Gets or sets a value indicating whether chart grid should be shown.

Declaration

cs-api-definition
public bool ShowGrid { get; set; }

Property Value

bool

ShowItemToolTips

Gets or sets a value indicating whether ToolTips are shown for the RadItem objects contained in the RadControl.

Declaration

cs-api-definition
[Browsable(false)]
public override bool ShowItemToolTips { get; set; }

Property Value

bool

Overrides RadControl.ShowItemToolTips

ShowLegend

Gets or sets a value indicating whether legend is shown.

Declaration

cs-api-definition
public bool ShowLegend { get; set; }

Property Value

bool

ShowPanZoom

Gets or sets a value indicating whether pan and zoom functionality is enabled for interactive chart navigation.

Declaration

cs-api-definition
[Browsable(false)]
public bool ShowPanZoom { get; set; }

Property Value

bool

ShowSmartLabels

Gets or sets a value indicating whether smart labels functionality is enabled to prevent label overlapping and improve readability.

Declaration

cs-api-definition
[Browsable(false)]
public bool ShowSmartLabels { get; set; }

Property Value

bool

ShowStillIndicators

Gets or sets a value indicating whether still indicators are displayed to provide visual feedback during chart interactions.

Declaration

cs-api-definition
[Browsable(false)]
public bool ShowStillIndicators { get; set; }

Property Value

bool

ShowTitle

Gets or sets a value indicating whether chart title is shown.

Declaration

cs-api-definition
public bool ShowTitle { get; set; }

Property Value

bool

ShowToolTip

Gets or sets a value indicating whether tooltips are displayed when hovering over chart elements.

Declaration

cs-api-definition
[Browsable(true)]
public bool ShowToolTip { get; set; }

Property Value

bool

ShowTrackBall

Gets or sets a value indicating whether the track ball functionality is enabled for data point tracking and highlighting.

Declaration

cs-api-definition
[Browsable(true)]
public bool ShowTrackBall { get; set; }

Property Value

bool

Title

Gets or sets the chart title.

Declaration

cs-api-definition
public string Title { get; set; }

Property Value

string

UseDataSource

Automatically setup DataSource of ChartSeries on attaching using this DataSource only when DataSource property of ChartSeries is null.

Declaration

cs-api-definition
[Browsable(true)]
public bool UseDataSource { get; set; }

Property Value

bool

View

Gets the primary ChartView that contains the chart area, series, axes, and data visualization components.

Declaration

cs-api-definition
public ChartView View { get; }

Property Value

ChartView

Views

Gets the collection of ChartView objects available for drill-down navigation and multi-view scenarios.

Declaration

cs-api-definition
[Browsable(false)]
public ChartViewCollection Views { get; }

Property Value

ChartViewCollection

Methods

BeginPrint(RadPrintDocument, PrintEventArgs)

Called when the printing begins.

Declaration

cs-api-definition
public int BeginPrint(RadPrintDocument sender, PrintEventArgs args)

Parameters

sender

RadPrintDocument

The that has initiated the printing.

args

PrintEventArgs

The event args.

Returns

int

The number of pages.

Implements IPrintable.BeginPrint(RadPrintDocument, PrintEventArgs)

CreateChartElement()

Creates and returns a new instance of the chart element that serves as the main visual component of the chart view.

Declaration

cs-api-definition
protected virtual RadChartElement CreateChartElement()

Returns

RadChartElement

A RadChartElement instance that represents the chart's visual content.

CreateChildItems(RadElement)

Creates and adds the chart element as a child item to the specified parent element.

Declaration

cs-api-definition
protected override void CreateChildItems(RadElement parent)

Parameters

parent

RadElement

The parent RadElement to which the chart element will be added.

Overrides RadControl.CreateChildItems(RadElement)

DeferRefresh()

Defers chart refresh operations and returns a disposable object that resumes refresh when disposed.

Declaration

cs-api-definition
public IDisposable DeferRefresh()

Returns

IDisposable

An IDisposable object that when disposed will resume chart refresh operations.

Dispose(bool)

Declaration

cs-api-definition
protected override void Dispose(bool disposing)

Parameters

disposing

bool

Overrides RadControl.Dispose(bool)

DrillDown(DataPoint)

Initiates a drill-down operation to navigate to a more detailed chart view based on the specified data point.

Declaration

cs-api-definition
public virtual bool DrillDown(DataPoint point)

Parameters

point

DataPoint

The DataPoint that serves as the entry point for the drill-down operation.

Returns

bool

true if the drill-down operation was successful; otherwise, false.

DrillToTop()

Navigates to the top-level chart view, returning to the root of the drill navigation hierarchy.

Declaration

cs-api-definition
public virtual bool DrillToTop()

Returns

bool

true if the navigation to the top-level view was successful; otherwise, false.

DrillUp()

Initiates a drill-up operation to navigate back to the previous chart view level.

Declaration

cs-api-definition
public virtual bool DrillUp()

Returns

bool

true if the drill-up operation was successful; otherwise, false.

EndPrint(RadPrintDocument, PrintEventArgs)

Called when the printing ends.

Declaration

cs-api-definition
public bool EndPrint(RadPrintDocument sender, PrintEventArgs args)

Parameters

sender

RadPrintDocument

The that has initiated the printing.

args

PrintEventArgs

The event args.

Returns

bool

[false] if cancel

Implements IPrintable.EndPrint(RadPrintDocument, PrintEventArgs)

ExportToImage(Stream, Size)

Exports the chart view into the specified stream using the PNG image format.

Declaration

cs-api-definition
public void ExportToImage(Stream stream, Size size)

Parameters

stream

Stream

The stream to which to write the chart image

size

Size

The size of the exported image.

ExportToImage(Stream, Size, ImageFormat)

Exports the chart view into the specified stream.

Declaration

cs-api-definition
public void ExportToImage(Stream stream, Size size, ImageFormat imageFormat)

Parameters

stream

Stream

The stream to which to write the chart image

size

Size

The size of the exported image.

imageFormat

ImageFormat

The image format in which to export the chart.

ExportToImage(string, Size)

Exports the chart view into the specified file using the PNG image format.

Declaration

cs-api-definition
public void ExportToImage(string filePath, Size size)

Parameters

filePath

string

The file to which the chart will be exported.

size

Size

The size of the exported file.

ExportToImage(string, Size, ImageFormat)

Exports the chart view into the specified file.

Declaration

cs-api-definition
public void ExportToImage(string filePath, Size size, ImageFormat imageFormat)

Parameters

filePath

string

The file to which the chart will be exported.

size

Size

The size of the exported file.

imageFormat

ImageFormat

The image format in which to export the chart.

GetArea<T>()

Returns a chart area of the specified type, providing strongly-typed access to area-specific properties and methods.

Declaration

cs-api-definition
public T GetArea<T>() where T : ChartArea

Returns

T

A chart area of the specified type, or null if the current area is not of the requested type.

GetSeries<T>(int)

Returns a chart series of the specified type at the given index, providing strongly-typed access to series-specific properties and methods.

Declaration

cs-api-definition
public T GetSeries<T>(int index) where T : ChartSeries

Parameters

index

int

The zero-based index of the series in the series collection.

Returns

T

A chart series of the specified type at the given index, or null if the series at the index is not of the requested type.

GetSettingsDialog(RadPrintDocument)

Gets a print settings dialog that is specific for the printable object.

Declaration

cs-api-definition
public Form GetSettingsDialog(RadPrintDocument document)

Parameters

document

RadPrintDocument

The that has initiated the printing.

Returns

Form

The dialog.

Implements IPrintable.GetSettingsDialog(RadPrintDocument)

GetViewElement()

Gets a view element for range selector functionality, providing a specialized view of the chart for range selection operations.

Declaration

cs-api-definition
public RadElement GetViewElement()

Returns

RadElement

A RadElement that represents the range selector view element.

Implements IRangeSelectorControl.GetViewElement()

OnLoad(Size)

Handles the load event and configures gesture support and chart element behavior for the chart view.

Declaration

cs-api-definition
protected override void OnLoad(Size desiredSize)

Parameters

desiredSize

Size

The desired size for the control during loading.

Overrides RadControl.OnLoad(Size)

OnMouseDown(MouseEventArgs)

Declaration

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

Parameters

e

MouseEventArgs

Overrides RadControl.OnMouseDown(MouseEventArgs)

OnMouseUp(MouseEventArgs)

Declaration

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

Parameters

e

MouseEventArgs

Overrides RadControl.OnMouseUp(MouseEventArgs)

OnThemeChanged()

Called when the theme is changed.

Declaration

cs-api-definition
protected override void OnThemeChanged()

Overrides RadControl.OnThemeChanged()

Pan(double, double)

Pans the chart view by moving the visible area by the specified horizontal and vertical offset values.

Declaration

cs-api-definition
public void Pan(double x, double y)

Parameters

x

double

The horizontal offset value for the pan operation.

y

double

The vertical offset value for the pan operation.

Print()

Directly prints the RadChartView to the default printer.

Declaration

cs-api-definition
public virtual void Print()

Print(bool)

Directly prints the RadChartView to the default printer or shows printer settings and then prints the RadChartView.

Declaration

cs-api-definition
public virtual void Print(bool showPrinterSettings)

Parameters

showPrinterSettings

bool

Indicates whether printer settings dialog should be shown.

Print(bool, RadPrintDocument)

Directly prints the RadChartView to the default printer or shows printer settings and then prints the RadChartView.

Declaration

cs-api-definition
public virtual void Print(bool showPrinterSettings, RadPrintDocument document)

Parameters

showPrinterSettings

bool

Indicates whether printer settings dialog should be shown.

document

RadPrintDocument

As instance of RadPrintDocument used to control the print process.

PrintPage(int, RadPrintDocument, PrintPageEventArgs)

Prints the page with the specified number.

Declaration

cs-api-definition
public bool PrintPage(int pageNumber, RadPrintDocument sender, PrintPageEventArgs args)

Parameters

pageNumber

int

The number of the current page.

sender

RadPrintDocument

The that has initiated the printing.

args

PrintPageEventArgs

The event args.

Returns

bool

[true] if there are more pages, [false] otherwise

Implements IPrintable.PrintPage(int, RadPrintDocument, PrintPageEventArgs)

PrintPreview()

Shows a RadPrintPreviewDialog for editing print settings.

Declaration

cs-api-definition
public virtual void PrintPreview()

PrintPreview(RadPrintDocument)

Shows a RadPrintPreviewDialog for editing print settings.

Declaration

cs-api-definition
public virtual void PrintPreview(RadPrintDocument document)

Parameters

document

RadPrintDocument

As instance of RadPrintDocument used to control the print process.

Refresh()

Refreshes the chart view by performing a layout update and redrawing the chart content.

Declaration

cs-api-definition
public override void Refresh()

Overrides RadControl.Refresh()

ResetBackColorThemeOverrides()

Declaration

cs-api-definition
protected override void ResetBackColorThemeOverrides()

Overrides RadControl.ResetBackColorThemeOverrides()

ResetForeColorThemeOverrides()

Declaration

cs-api-definition
protected override void ResetForeColorThemeOverrides()

Overrides RadControl.ResetForeColorThemeOverrides()

ResumeRefresh()

Resumes chart refresh operations that were previously suspended, allowing the chart to update and redraw.

Declaration

cs-api-definition
public void ResumeRefresh()

ScaleControl(SizeF, BoundsSpecified)

Declaration

cs-api-definition
protected override void ScaleControl(SizeF factor, BoundsSpecified specified)

Parameters

factor

SizeF

specified

BoundsSpecified

Overrides RadControl.ScaleControl(SizeF, BoundsSpecified)

SetBackColorThemeOverrides()

Declaration

cs-api-definition
protected override void SetBackColorThemeOverrides()

Overrides RadControl.SetBackColorThemeOverrides()

SetForeColorThemeOverrides()

Declaration

cs-api-definition
protected override void SetForeColorThemeOverrides()

Overrides RadControl.SetForeColorThemeOverrides()

SuspendRefresh()

Suspends chart refresh operations to improve performance during multiple chart modifications.

Declaration

cs-api-definition
public void SuspendRefresh()

Zoom(double, double)

Zooms the chart by applying the specified horizontal and vertical scale factors to the chart area.

Declaration

cs-api-definition
public void Zoom(double horizontalScaleFactor, double verticalScaleFactor)

Parameters

horizontalScaleFactor

double

The horizontal scaling factor for zoom operation.

verticalScaleFactor

double

The vertical scaling factor for zoom operation.

Events

ContextMenuOpening

Occurs when context menu is opening.

Declaration

cs-api-definition
public event ChartViewContextMenuOpeningEventHandler ContextMenuOpening

Event Value

ChartViewContextMenuOpeningEventHandler

CreatePoint

Occurs when a new DataPoint is created.

Declaration

cs-api-definition
public event ChartViewCreatePointEventHandler CreatePoint

Event Value

ChartViewCreatePointEventHandler

CreatePointElement

Occurs when a new DataPointElement is created.

Declaration

cs-api-definition
public event ChartViewCreatePointElementEventHandler CreatePointElement

Event Value

ChartViewCreatePointElementEventHandler

CreateRenderer

Fires when the area requies a renderer for the first time.

Declaration

cs-api-definition
public event ChartViewCreateRendererEventHandler CreateRenderer

Event Value

ChartViewCreateRendererEventHandler

Drill

Fires when started Drill operation.

Declaration

cs-api-definition
public event DrillEventHandler Drill

Event Value

DrillEventHandler

LabelFormatting

Fires when the content of a point label needs to be formatted for display.

Declaration

cs-api-definition
public event ChartViewLabelFormattingEventHandler LabelFormatting

Event Value

ChartViewLabelFormattingEventHandler

SelectedPointChanged

Occurs when the value of the IsSelected property of a DataPoint is changed.

Declaration

cs-api-definition
public event ChartViewSelectedChangedEventHandler SelectedPointChanged

Event Value

ChartViewSelectedChangedEventHandler

SelectedPointChanging

Occurs when the value of the IsSelected property of a DataPoint is changing.

Declaration

cs-api-definition
public event ChartViewSelectedChangingEventHandler SelectedPointChanging

Event Value

ChartViewSelectedChangingEventHandler