RadChartBase
Base class for all different charts. Different chart controls are categorized mainly by the coordinate system used to plot their points.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public abstract class RadChartBase : PresenterBase, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBaseRadChartBase
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadChartBase class.
protected RadChartBase()
Fields
AnnotationsProviderProperty
DependencyProperty
Identifies the AnnotationsProvider dependency property.
public static readonly DependencyProperty AnnotationsProviderProperty
BehaviorsProperty
DependencyProperty
Identifies the Behaviors dependency property.
public static readonly DependencyProperty BehaviorsProperty
DragZoomBorderStyleProperty
DependencyProperty
Identifies the DragZoomBorderStyle dependency property.
public static readonly DependencyProperty DragZoomBorderStyleProperty
EmptyContentProperty
DependencyProperty
Identifies the EmptyContent dependency property.
public static readonly DependencyProperty EmptyContentProperty
EmptyContentTemplateProperty
DependencyProperty
Identifies the EmptyContentTemplate dependency property.
public static readonly DependencyProperty EmptyContentTemplateProperty
MaxZoomProperty
DependencyProperty
Identifies the MaxZoom dependency property.
public static readonly DependencyProperty MaxZoomProperty
MinZoomProperty
DependencyProperty
Identifies the MinZoom dependency property.
public static readonly DependencyProperty MinZoomProperty
PaletteProperty
DependencyProperty
Identifies the Palette dependency property.
public static readonly DependencyProperty PaletteProperty
PanOffsetProperty
DependencyProperty
Identifies the PanOffset dependency property.
public static readonly DependencyProperty PanOffsetProperty
PlotAreaStyleProperty
DependencyProperty
Identifies the PlotAreaStyle dependency property.
public static readonly DependencyProperty PlotAreaStyleProperty
SelectedPointsProperty
DependencyProperty
Identifies the SelectedPoints dependency property.
public static readonly DependencyProperty SelectedPointsProperty
SelectionPaletteProperty
DependencyProperty
Identifies the SelectionPalette dependency property.
public static readonly DependencyProperty SelectionPaletteProperty
SeriesProviderProperty
DependencyProperty
Identifies the SeriesProvider dependency property.
public static readonly DependencyProperty SeriesProviderProperty
ShowEmptyContentProperty
DependencyProperty
Identifies the ShowEmptyContent dependency property.
public static readonly DependencyProperty ShowEmptyContentProperty
TooltipTemplateProperty
DependencyProperty
Identifies the TooltipTemplate property.
public static readonly DependencyProperty TooltipTemplateProperty
TrackBallInfoStyleProperty
DependencyProperty
Identifies the TrackBallInfoStyle property.
public static readonly DependencyProperty TrackBallInfoStyleProperty
TrackBallLineStyleProperty
DependencyProperty
Identifies the TrackBallLineStyle property.
public static readonly DependencyProperty TrackBallLineStyleProperty
ZoomProperty
DependencyProperty
Identifies the Zoom dependency property.
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.
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.
public ChartBehaviorCollection Behaviors { get; }
DragZoomBorderStyle
Style
Gets or sets the style applied to the rectangular visual hint on drag-zooming with the mouse within the plot area.
public Style DragZoomBorderStyle { get; set; }
Gets or sets the content to be displayed when the chart is either not properly initialized or missing data.
public object EmptyContent { get; set; }
EmptyContentTemplate
DataTemplate
Gets or sets the DataTemplate that defines the visual tree of the ContentPresenter instance that visualized the property.
public DataTemplate EmptyContentTemplate { get; set; }
Gets the legend items.
public LegendItemCollection LegendItems { get; }
MaxZoom
Size
Gets or sets the maximum allowed zoom for this instance.
public Size MaxZoom { get; set; }
MinZoom
Size
Gets or sets the minimum allowed zoom for this instance.
public Size MinZoom { get; set; }
Gets or sets the ChartPalette instance that defines the appearance of the chart.
public ChartPalette Palette { get; set; }
PanOffset
Point
Gets or sets the origin used to calculate the arrange box of the chart area.
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.
public virtual RadRect PlotAreaClip { get; }
PlotAreaStyle
Style
Gets or sets the Style instance that describes the visual appearance of the plot area. The style should target the Border type.
public Style PlotAreaStyle { get; set; }
Gets or sets the selected data points.
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.
public ChartPalette SelectionPalette { get; set; }
Gets or sets an object that may be used to create chart series dynamically, depending on the underlying data.
public ChartSeriesProvider SeriesProvider { get; set; }
Gets or sets whether the empty content presenter should be displayed or not.
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.
public DataTemplate TooltipTemplate { get; set; }
TrackBallInfoStyle
Style
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.
public Style TrackBallInfoStyle { get; set; }
TrackBallLineStyle
Style
Gets or sets the Style that defines the appearance of the line displayed by a ChartTrackBallBehavior instance. The style should target the type.
public Style TrackBallLineStyle { get; set; }
Zoom
Size
Gets or sets the current zoom (scale) of the chart.
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.
protected override Size ArrangeOverride(Size finalSize)
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.
public override void OnApplyTemplate()
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.
protected override void OnLoaded(object sender, RoutedEventArgs e)
Overrides:
Raises the event.
protected virtual void OnPanOffsetChanged(ChartPanOffsetChangedEventArgs args)
The ChartPanOffsetChangedEventArgs instance containing the event data.
Occurs when this object is no longer connected to the main object tree.
protected override void OnUnloaded(object sender, RoutedEventArgs e)
Overrides:
Raises the event.
protected virtual void OnZoomChanged(ChartZoomChangedEventArgs args)
The ChartZoomChangedEventArgs instance containing the event data.
Resets the control theme.
public void ResetTheme()
Prepares the plot area model so that it may be visualized.
protected virtual void UpdateChartArea()
Events
Occurs when the chart pan offset has changed.
public event EventHandler<ChartPanOffsetChangedEventArgs> PanOffsetChanged
Occurs when the chart's plot area gets changed.
public event EventHandler PlotAreaClipChanged
Occurs when the chart's UI is updated.
public event EventHandler UIUpdated
Occurs when the chart zoom has changed.
public event EventHandler<ChartZoomChangedEventArgs> ZoomChanged