Class
RadChartBase

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

Definition

Constructors

RadChartBase()

Initializes a new instance of the RadChartBase class.

Declaration

cs-api-definition
protected RadChartBase()

Fields

AnnotationsProviderProperty

Identifies the AnnotationsProvider dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnnotationsProviderProperty

Field Value

DependencyProperty

BehaviorsProperty

Identifies the Behaviors dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BehaviorsProperty

Field Value

DependencyProperty

DragZoomBorderStyleProperty

Identifies the DragZoomBorderStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragZoomBorderStyleProperty

Field Value

DependencyProperty

EmptyContentProperty

Identifies the EmptyContent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EmptyContentProperty

Field Value

DependencyProperty

EmptyContentTemplateProperty

Identifies the EmptyContentTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EmptyContentTemplateProperty

Field Value

DependencyProperty

MaxZoomProperty

Identifies the MaxZoom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaxZoomProperty

Field Value

DependencyProperty

MinZoomProperty

Identifies the MinZoom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinZoomProperty

Field Value

DependencyProperty

PaletteProperty

Identifies the Palette dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PaletteProperty

Field Value

DependencyProperty

PanOffsetProperty

Identifies the PanOffset dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PanOffsetProperty

Field Value

DependencyProperty

PlotAreaStyleProperty

Identifies the PlotAreaStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PlotAreaStyleProperty

Field Value

DependencyProperty

SelectedPointsProperty

Identifies the SelectedPoints dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedPointsProperty

Field Value

DependencyProperty

SelectionPaletteProperty

Identifies the SelectionPalette dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectionPaletteProperty

Field Value

DependencyProperty

SeriesProviderProperty

Identifies the SeriesProvider dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SeriesProviderProperty

Field Value

DependencyProperty

ShowEmptyContentProperty

Identifies the ShowEmptyContent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShowEmptyContentProperty

Field Value

DependencyProperty

TooltipTemplateProperty

Identifies the TooltipTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty TooltipTemplateProperty

Field Value

DependencyProperty

TrackBallInfoStyleProperty

Identifies the TrackBallInfoStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty TrackBallInfoStyleProperty

Field Value

DependencyProperty

TrackBallLineStyleProperty

Identifies the TrackBallLineStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty TrackBallLineStyleProperty

Field Value

DependencyProperty

ZoomProperty

Identifies the Zoom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZoomProperty

Field Value

DependencyProperty

Properties

AnnotationsProvider

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

Declaration

cs-api-definition
public ChartAnnotationsProvider AnnotationsProvider { get; set; }

Property Value

ChartAnnotationsProvider

Behaviors

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

Declaration

cs-api-definition
public ChartBehaviorCollection Behaviors { get; }

Property Value

ChartBehaviorCollection

DragZoomBorderStyle

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

Declaration

cs-api-definition
public Style DragZoomBorderStyle { get; set; }

Property Value

Style

EmptyContent

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

Declaration

cs-api-definition
public object EmptyContent { get; set; }

Property Value

object

EmptyContentTemplate

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

Declaration

cs-api-definition
public DataTemplate EmptyContentTemplate { get; set; }

Property Value

DataTemplate

LegendItems

Gets the legend items.

Declaration

cs-api-definition
public LegendItemCollection LegendItems { get; }

Property Value

LegendItemCollection

MaxZoom

Gets or sets the maximum allowed zoom for this instance.

Declaration

cs-api-definition
public Size MaxZoom { get; set; }

Property Value

Size

MinZoom

Gets or sets the minimum allowed zoom for this instance.

Declaration

cs-api-definition
public Size MinZoom { get; set; }

Property Value

Size

Palette

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

Declaration

cs-api-definition
public ChartPalette Palette { get; set; }

Property Value

ChartPalette

PanOffset

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

Declaration

cs-api-definition
public Point PanOffset { get; set; }

Property Value

Point

PlotAreaClip

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

Declaration

cs-api-definition
public virtual RadRect PlotAreaClip { get; }

Property Value

RadRect

PlotAreaStyle

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

Declaration

cs-api-definition
public Style PlotAreaStyle { get; set; }

Property Value

Style

SelectedPoints

Gets or sets the selected data points.

Declaration

cs-api-definition
public ReadOnlyDataPointCollection SelectedPoints { get; set; }

Property Value

ReadOnlyDataPointCollection

SelectionPalette

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

Declaration

cs-api-definition
public ChartPalette SelectionPalette { get; set; }

Property Value

ChartPalette

SeriesProvider

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

Declaration

cs-api-definition
public ChartSeriesProvider SeriesProvider { get; set; }

Property Value

ChartSeriesProvider

ShowEmptyContent

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

Declaration

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

Property Value

bool

TooltipTemplate

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.

Declaration

cs-api-definition
public DataTemplate TooltipTemplate { get; set; }

Property Value

DataTemplate

TrackBallInfoStyle

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.

Declaration

cs-api-definition
public Style TrackBallInfoStyle { get; set; }

Property Value

Style

TrackBallLineStyle

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

Declaration

cs-api-definition
public Style TrackBallLineStyle { get; set; }

Property Value

Style

Zoom

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

Declaration

cs-api-definition
public Size Zoom { get; set; }

Property Value

Size

Methods

ArrangeOverride(Size)

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

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

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.

OnApplyTemplate()

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.

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides PresenterBase.OnApplyTemplate()

OnCreateAutomationPeer()

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

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

Overrides PresenterBase.OnInitialized(EventArgs)

OnLoaded(object, RoutedEventArgs)

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

Declaration

cs-api-definition
protected override void OnLoaded(object sender, RoutedEventArgs e)

Parameters

sender

object

e

RoutedEventArgs

Overrides RadControlBase.OnLoaded(object, RoutedEventArgs)

OnPanOffsetChanged(ChartPanOffsetChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnPanOffsetChanged(ChartPanOffsetChangedEventArgs args)

Parameters

args

ChartPanOffsetChangedEventArgs

The ChartPanOffsetChangedEventArgs instance containing the event data.

OnUnloaded(object, RoutedEventArgs)

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

Declaration

cs-api-definition
protected override void OnUnloaded(object sender, RoutedEventArgs e)

Parameters

sender

object

e

RoutedEventArgs

Overrides RadControlBase.OnUnloaded(object, RoutedEventArgs)

OnZoomChanged(ChartZoomChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnZoomChanged(ChartZoomChangedEventArgs args)

Parameters

args

ChartZoomChangedEventArgs

The ChartZoomChangedEventArgs instance containing the event data.

ResetTheme()

Resets the control theme.

Declaration

cs-api-definition
public void ResetTheme()

UpdateChartArea()

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

Declaration

cs-api-definition
protected virtual void UpdateChartArea()

Events

PanOffsetChanged

Occurs when the chart pan offset has changed.

Declaration

cs-api-definition
public event EventHandler<ChartPanOffsetChangedEventArgs> PanOffsetChanged

Event Value

EventHandler<ChartPanOffsetChangedEventArgs>

PlotAreaClipChanged

Occurs when the chart's plot area gets changed.

Declaration

cs-api-definition
public event EventHandler PlotAreaClipChanged

Event Value

EventHandler

UIUpdated

Occurs when the chart's UI is updated.

Declaration

cs-api-definition
public event EventHandler UIUpdated

Event Value

EventHandler

ZoomChanged

Occurs when the chart zoom has changed.

Declaration

cs-api-definition
public event EventHandler<ChartZoomChangedEventArgs> ZoomChanged

Event Value

EventHandler<ChartZoomChangedEventArgs>