ClassRadChartBase
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
RadChartBase()
Initializes a new instance of the RadChartBase class.
Declaration
protected RadChartBase()
Fields
AnnotationsProviderProperty
Identifies the AnnotationsProvider dependency property.
Declaration
public static readonly DependencyProperty AnnotationsProviderProperty
Field Value
DependencyProperty
BehaviorsProperty
Identifies the Behaviors dependency property.
Declaration
public static readonly DependencyProperty BehaviorsProperty
Field Value
DependencyProperty
DragZoomBorderStyleProperty
Identifies the DragZoomBorderStyle dependency property.
Declaration
public static readonly DependencyProperty DragZoomBorderStyleProperty
Field Value
DependencyProperty
EmptyContentProperty
Identifies the EmptyContent dependency property.
Declaration
public static readonly DependencyProperty EmptyContentProperty
Field Value
DependencyProperty
EmptyContentTemplateProperty
Identifies the EmptyContentTemplate dependency property.
Declaration
public static readonly DependencyProperty EmptyContentTemplateProperty
Field Value
DependencyProperty
MaxZoomProperty
Identifies the MaxZoom dependency property.
Declaration
public static readonly DependencyProperty MaxZoomProperty
Field Value
DependencyProperty
MinZoomProperty
Identifies the MinZoom dependency property.
Declaration
public static readonly DependencyProperty MinZoomProperty
Field Value
DependencyProperty
PaletteProperty
Identifies the Palette dependency property.
Declaration
public static readonly DependencyProperty PaletteProperty
Field Value
DependencyProperty
PanOffsetProperty
Identifies the PanOffset dependency property.
Declaration
public static readonly DependencyProperty PanOffsetProperty
Field Value
DependencyProperty
PlotAreaStyleProperty
Identifies the PlotAreaStyle dependency property.
Declaration
public static readonly DependencyProperty PlotAreaStyleProperty
Field Value
DependencyProperty
SelectedPointsProperty
Identifies the SelectedPoints dependency property.
Declaration
public static readonly DependencyProperty SelectedPointsProperty
Field Value
DependencyProperty
SelectionPaletteProperty
Identifies the SelectionPalette dependency property.
Declaration
public static readonly DependencyProperty SelectionPaletteProperty
Field Value
DependencyProperty
SeriesProviderProperty
Identifies the SeriesProvider dependency property.
Declaration
public static readonly DependencyProperty SeriesProviderProperty
Field Value
DependencyProperty
ShowEmptyContentProperty
Identifies the ShowEmptyContent dependency property.
Declaration
public static readonly DependencyProperty ShowEmptyContentProperty
Field Value
DependencyProperty
TooltipTemplateProperty
Identifies the TooltipTemplate property.
Declaration
public static readonly DependencyProperty TooltipTemplateProperty
Field Value
DependencyProperty
TrackBallInfoStyleProperty
Identifies the TrackBallInfoStyle property.
Declaration
public static readonly DependencyProperty TrackBallInfoStyleProperty
Field Value
DependencyProperty
TrackBallLineStyleProperty
Identifies the TrackBallLineStyle property.
Declaration
public static readonly DependencyProperty TrackBallLineStyleProperty
Field Value
DependencyProperty
ZoomProperty
Identifies the Zoom dependency property.
Declaration
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
public ChartAnnotationsProvider AnnotationsProvider { get; set; }
Property Value
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
public ChartBehaviorCollection Behaviors { get; }
Property Value
DragZoomBorderStyle
Gets or sets the style applied to the rectangular visual hint on drag-zooming with the mouse within the plot area.
Declaration
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.
EmptyContentTemplate
Gets or sets the DataTemplate that defines the visual tree of the ContentPresenter instance that visualized the property.
Declaration
public DataTemplate EmptyContentTemplate { get; set; }
Property Value
DataTemplate
LegendItems
Gets the legend items.
Declaration
public LegendItemCollection LegendItems { get; }
Property Value
MaxZoom
Gets or sets the maximum allowed zoom for this instance.
Declaration
public Size MaxZoom { get; set; }
Property Value
Size
MinZoom
Gets or sets the minimum allowed zoom for this instance.
Declaration
public Size MinZoom { get; set; }
Property Value
Size
Palette
Gets or sets the ChartPalette instance that defines the appearance of the chart.
PanOffset
Gets or sets the origin used to calculate the arrange box of the chart area.
Declaration
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.
PlotAreaStyle
Gets or sets the Style instance that describes the visual appearance of the plot area. The style should target the Border type.
Declaration
public Style PlotAreaStyle { get; set; }
Property Value
Style
SelectedPoints
Gets or sets the selected data points.
Declaration
public ReadOnlyDataPointCollection SelectedPoints { get; set; }
Property Value
SelectionPalette
Gets or sets the ChartPalette instance that defines the appearance of the chart for selected series and/or data points.
Declaration
public ChartPalette SelectionPalette { get; set; }
Property Value
SeriesProvider
Gets or sets an object that may be used to create chart series dynamically, depending on the underlying data.
Declaration
public ChartSeriesProvider SeriesProvider { get; set; }
Property Value
ShowEmptyContent
Gets or sets whether the empty content presenter should be displayed or not.
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
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
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
public Style TrackBallLineStyle { get; set; }
Property Value
Style
Zoom
Gets or sets the current zoom (scale) of the chart.
Declaration
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
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
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
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
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides
OnLoaded(object, RoutedEventArgs)
Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.
Declaration
protected override void OnLoaded(object sender, RoutedEventArgs e)
Parameters
sender
e
RoutedEventArgs
Overrides
OnPanOffsetChanged(ChartPanOffsetChangedEventArgs)
Raises the event.
Declaration
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
protected override void OnUnloaded(object sender, RoutedEventArgs e)
Parameters
sender
e
RoutedEventArgs
Overrides
OnZoomChanged(ChartZoomChangedEventArgs)
Raises the event.
Declaration
protected virtual void OnZoomChanged(ChartZoomChangedEventArgs args)
Parameters
args
The ChartZoomChangedEventArgs instance containing the event data.
UpdateChartArea()
Prepares the plot area model so that it may be visualized.
Declaration
protected virtual void UpdateChartArea()
Events
PanOffsetChanged
Occurs when the chart pan offset has changed.
Declaration
public event EventHandler<ChartPanOffsetChangedEventArgs> PanOffsetChanged
Event Value
PlotAreaClipChanged
Occurs when the chart's plot area gets changed.
Declaration
public event EventHandler PlotAreaClipChanged
Event Value
UIUpdated
Occurs when the chart's UI is updated.
ZoomChanged
Occurs when the chart zoom has changed.
Declaration
public event EventHandler<ChartZoomChangedEventArgs> ZoomChanged
Event Value