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

Base class for all different charts. Different chart controls are categorized mainly by the coordinate system used to plot their points.

Definition

Constructors

Initializes a new instance of the RadChartBase class.

C#
protected RadChartBase()

Fields

AnnotationsProviderProperty

DependencyProperty

Identifies the AnnotationsProvider dependency property.

C#
public static readonly DependencyProperty AnnotationsProviderProperty

BehaviorsProperty

DependencyProperty

Identifies the Behaviors dependency property.

C#
public static readonly DependencyProperty BehaviorsProperty

DragZoomBorderStyleProperty

DependencyProperty

Identifies the DragZoomBorderStyle dependency property.

C#
public static readonly DependencyProperty DragZoomBorderStyleProperty

EmptyContentProperty

DependencyProperty

Identifies the EmptyContent dependency property.

C#
public static readonly DependencyProperty EmptyContentProperty

Identifies the EmptyContentTemplate dependency property.

C#
public static readonly DependencyProperty EmptyContentTemplateProperty

MaxZoomProperty

DependencyProperty

Identifies the MaxZoom dependency property.

C#
public static readonly DependencyProperty MaxZoomProperty

MinZoomProperty

DependencyProperty

Identifies the MinZoom dependency property.

C#
public static readonly DependencyProperty MinZoomProperty

PaletteProperty

DependencyProperty

Identifies the Palette dependency property.

C#
public static readonly DependencyProperty PaletteProperty

PanOffsetProperty

DependencyProperty

Identifies the PanOffset dependency property.

C#
public static readonly DependencyProperty PanOffsetProperty

PlotAreaStyleProperty

DependencyProperty

Identifies the PlotAreaStyle dependency property.

C#
public static readonly DependencyProperty PlotAreaStyleProperty

SelectedPointsProperty

DependencyProperty

Identifies the SelectedPoints dependency property.

C#
public static readonly DependencyProperty SelectedPointsProperty

SelectionPaletteProperty

DependencyProperty

Identifies the SelectionPalette dependency property.

C#
public static readonly DependencyProperty SelectionPaletteProperty

SeriesProviderProperty

DependencyProperty

Identifies the SeriesProvider dependency property.

C#
public static readonly DependencyProperty SeriesProviderProperty

ShowEmptyContentProperty

DependencyProperty

Identifies the ShowEmptyContent dependency property.

C#
public static readonly DependencyProperty ShowEmptyContentProperty

TooltipTemplateProperty

DependencyProperty

Identifies the TooltipTemplate property.

C#
public static readonly DependencyProperty TooltipTemplateProperty

TrackBallInfoStyleProperty

DependencyProperty

Identifies the TrackBallInfoStyle property.

C#
public static readonly DependencyProperty TrackBallInfoStyleProperty

TrackBallLineStyleProperty

DependencyProperty

Identifies the TrackBallLineStyle property.

C#
public static readonly DependencyProperty TrackBallLineStyleProperty

ZoomProperty

DependencyProperty

Identifies the Zoom dependency property.

C#
public static readonly DependencyProperty ZoomProperty

Properties

Gets or sets an object that may be used to create chart annotations dynamically, depending on the underlying data.

C#
public ChartAnnotationsProvider AnnotationsProvider { get; set; }

Gets a collection of chart behaviors. For example a ChartToolTipBehavior can be added to this collection which will enable tooltips on certain gestures.

C#
public ChartBehaviorCollection Behaviors { get; }

Gets or sets the style applied to the rectangular visual hint on drag-zooming with the mouse within the plot area.

C#
public Style DragZoomBorderStyle { get; set; }

Gets or sets the content to be displayed when the chart is either not properly initialized or missing data.

C#
public object EmptyContent { get; set; }

Gets or sets the DataTemplate that defines the visual tree of the ContentPresenter instance that visualized the property.

C#
public DataTemplate EmptyContentTemplate { get; set; }

Gets the legend items.

C#
public LegendItemCollection LegendItems { get; }

Gets or sets the maximum allowed zoom for this instance.

C#
public Size MaxZoom { get; set; }

Gets or sets the minimum allowed zoom for this instance.

C#
public Size MinZoom { get; set; }

Gets or sets the ChartPalette instance that defines the appearance of the chart.

C#
public ChartPalette Palette { get; set; }

Gets or sets the origin used to calculate the arrange box of the chart area.

C#
public Point PanOffset { get; set; }

Gets the clip that encloses the plot area in view coordinates - that is without the zoom factor applied and with the pan offset calculated.

C#
public virtual RadRect PlotAreaClip { get; }

Gets or sets the Style instance that describes the visual appearance of the plot area. The style should target the Border type.

C#
public Style PlotAreaStyle { get; set; }

Gets or sets the selected data points.

C#
public ReadOnlyDataPointCollection SelectedPoints { get; set; }

Gets or sets the ChartPalette instance that defines the appearance of the chart for selected series and/or data points.

C#
public ChartPalette SelectionPalette { get; set; }

Gets or sets an object that may be used to create chart series dynamically, depending on the underlying data.

C#
public ChartSeriesProvider SeriesProvider { get; set; }

Gets or sets whether the empty content presenter should be displayed or not.

C#
public bool ShowEmptyContent { get; set; }

TooltipTemplate

DataTemplate

Gets or sets the ContentTemplate of the tooltip that is shown by the ChartTooltipBehavior. This property has a lower priority than the TooltipTemplate property of the series.

C#
public DataTemplate TooltipTemplate { get; set; }

Gets or sets the Style that defines the appearance of the TrackInfo control displayed by a ChartTrackBallBehavior instance. The style should target the TrackBallInfoControl type.

C#
public Style TrackBallInfoStyle { get; set; }

Gets or sets the Style that defines the appearance of the line displayed by a ChartTrackBallBehavior instance. The style should target the type.

C#
public Style TrackBallLineStyle { get; set; }

Zoom

Size

Gets or sets the current zoom (scale) of the chart.

C#
public Size Zoom { get; set; }

Methods

Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The final area within the parent that this object should use to arrange itself and its children.

Returns:

Size

The actual size that is used after the element is arranged in layout.

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

C#
public override void OnApplyTemplate()

Overrides: PresenterBase.OnApplyTemplate()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: PresenterBase.OnInitialized(EventArgs)

Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.

C#
protected override void OnLoaded(object sender, RoutedEventArgs e)
Parameters:senderobjecteRoutedEventArgs

Overrides: RadControlBase.OnLoaded(object, RoutedEventArgs)

Raises the event.

C#
protected virtual void OnPanOffsetChanged(ChartPanOffsetChangedEventArgs args)
Parameters:argsChartPanOffsetChangedEventArgs

The ChartPanOffsetChangedEventArgs instance containing the event data.

Occurs when this object is no longer connected to the main object tree.

C#
protected override void OnUnloaded(object sender, RoutedEventArgs e)
Parameters:senderobjecteRoutedEventArgs

Overrides: RadControlBase.OnUnloaded(object, RoutedEventArgs)

Raises the event.

C#
protected virtual void OnZoomChanged(ChartZoomChangedEventArgs args)
Parameters:argsChartZoomChangedEventArgs

The ChartZoomChangedEventArgs instance containing the event data.

Resets the control theme.

C#
public void ResetTheme()

Prepares the plot area model so that it may be visualized.

C#
protected virtual void UpdateChartArea()

Events

Occurs when the chart pan offset has changed.

C#
public event EventHandler<ChartPanOffsetChangedEventArgs> PanOffsetChanged

Occurs when the chart's plot area gets changed.

C#
public event EventHandler PlotAreaClipChanged

Occurs when the chart's UI is updated.

C#
public event EventHandler UIUpdated

Occurs when the chart zoom has changed.

C#
public event EventHandler<ChartZoomChangedEventArgs> ZoomChanged