Class RadChartBase
Base class for all different charts. Different chart controls are categorized mainly by the coordinate system used to plot their points.
Inherited Members
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public abstract class RadChartBase : PresenterBase, IChartElementPresenterWithMargin, IChartView, IChartElementPresenter, IChart
Constructors
RadChartBase()
Fields
AnnotationsProviderProperty
Identifies the AnnotationsProvider dependency property.
Declaration
public static readonly DependencyProperty AnnotationsProviderProperty
Field Value
System.Windows.DependencyProperty
|
BehaviorsProperty
Identifies the Behaviors dependency property.
Declaration
public static readonly DependencyProperty BehaviorsProperty
Field Value
System.Windows.DependencyProperty
|
DragZoomBorderStyleProperty
Identifies the DragZoomBorderStyle dependency property.
Declaration
public static readonly DependencyProperty DragZoomBorderStyleProperty
Field Value
System.Windows.DependencyProperty
|
EmptyContentProperty
Identifies the EmptyContent dependency property.
Declaration
public static readonly DependencyProperty EmptyContentProperty
Field Value
System.Windows.DependencyProperty
|
EmptyContentTemplateProperty
Identifies the EmptyContentTemplate dependency property.
Declaration
public static readonly DependencyProperty EmptyContentTemplateProperty
Field Value
System.Windows.DependencyProperty
|
MaxZoomProperty
Identifies the MaxZoom dependency property.
Declaration
public static readonly DependencyProperty MaxZoomProperty
Field Value
System.Windows.DependencyProperty
|
MinZoomProperty
Identifies the MinZoom dependency property.
Declaration
public static readonly DependencyProperty MinZoomProperty
Field Value
System.Windows.DependencyProperty
|
PaletteProperty
Identifies the Palette dependency property.
Declaration
public static readonly DependencyProperty PaletteProperty
Field Value
System.Windows.DependencyProperty
|
PanOffsetProperty
Identifies the PanOffset dependency property.
Declaration
public static readonly DependencyProperty PanOffsetProperty
Field Value
System.Windows.DependencyProperty
|
PlotAreaStyleProperty
Identifies the PlotAreaStyle dependency property.
Declaration
public static readonly DependencyProperty PlotAreaStyleProperty
Field Value
System.Windows.DependencyProperty
|
SelectedPointsProperty
Identifies the SelectedPoints dependency property.
Declaration
public static readonly DependencyProperty SelectedPointsProperty
Field Value
System.Windows.DependencyProperty
|
SelectionPaletteProperty
Identifies the SelectionPalette dependency property.
Declaration
public static readonly DependencyProperty SelectionPaletteProperty
Field Value
System.Windows.DependencyProperty
|
SeriesProviderProperty
Identifies the SeriesProvider dependency property.
Declaration
public static readonly DependencyProperty SeriesProviderProperty
Field Value
System.Windows.DependencyProperty
|
ShowEmptyContentProperty
Identifies the ShowEmptyContent dependency property.
Declaration
public static readonly DependencyProperty ShowEmptyContentProperty
Field Value
System.Windows.DependencyProperty
|
TooltipTemplateProperty
Identifies the TooltipTemplate property.
Declaration
public static readonly DependencyProperty TooltipTemplateProperty
Field Value
System.Windows.DependencyProperty
|
TrackBallInfoStyleProperty
Identifies the TrackBallInfoStyle property.
Declaration
public static readonly DependencyProperty TrackBallInfoStyleProperty
Field Value
System.Windows.DependencyProperty
|
TrackBallLineStyleProperty
Identifies the TrackBallLineStyle property.
Declaration
public static readonly DependencyProperty TrackBallLineStyleProperty
Field Value
System.Windows.DependencyProperty
|
ZoomProperty
Identifies the Zoom dependency property.
Declaration
public static readonly DependencyProperty ZoomProperty
Field Value
System.Windows.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
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
public ChartBehaviorCollection Behaviors { get; }
Property Value
ChartBehaviorCollection
|
ClipToBounds
Gets or sets a value indicating whether the chart content will be clipped to the control's bounds.
Declaration
public bool ClipToBounds { get; set; }
Property Value
System.Boolean
|
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
System.Windows.Style
|
EmptyContent
Gets or sets the content to be displayed when the chart is either not properly initialized or missing data.
Declaration
public object EmptyContent { get; set; }
Property Value
System.Object
|
EmptyContentTemplate
Gets or sets the System.Windows.DataTemplate that defines the visual tree of the System.Windows.Controls.ContentPresenter instance that visualized the EmptyContent property.
Declaration
public DataTemplate EmptyContentTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
IsRenderingDelayed
Gets or sets a value indicating whether the update of chart UI elements is delayed with one layout pass after the arrange phase. When set to true, the UI elements are not updated during the arrange phase of the chart but in the next frame, thus eliminating the recurring arrange phase.
Declaration
public bool IsRenderingDelayed { get; set; }
Property Value
System.Boolean
|
LegendItems
Gets the legend items.
Declaration
public LegendItemCollection LegendItems { get; }
Property Value
LegendItemCollection
|
MaxZoom
Gets or sets the maximum allowed zoom for this instance.
Declaration
public Size MaxZoom { get; set; }
Property Value
System.Windows.Size
|
MinZoom
Gets or sets the minimum allowed zoom for this instance.
Declaration
public Size MinZoom { get; set; }
Property Value
System.Windows.Size
|
Palette
Gets or sets the ChartPalette instance that defines the appearance of the chart.
Declaration
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
public Point PanOffset { get; set; }
Property Value
System.Windows.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
public virtual RadRect PlotAreaClip { get; }
Property Value
RadRect
|
PlotAreaStyle
Gets or sets the System.Windows.Style instance that describes the visual appearance of the plot area. The style should target the System.Windows.Controls.Border type.
Declaration
public Style PlotAreaStyle { get; set; }
Property Value
System.Windows.Style
|
SelectedPoints
Gets or sets the selected data points.
Declaration
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
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
public ChartSeriesProvider SeriesProvider { get; set; }
Property Value
ChartSeriesProvider
|
ShowEmptyContent
Gets or sets whether the empty content presenter should be displayed or not.
Declaration
public bool ShowEmptyContent { get; set; }
Property Value
System.Boolean
|
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
System.Windows.DataTemplate
|
TrackBallInfoStyle
Gets or sets the System.Windows.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
System.Windows.Style
|
TrackBallLineStyle
Gets or sets the System.Windows.Style that defines the appearance of the line displayed by a ChartTrackBallBehavior instance. The style should target the System.Windows.Shapes.Polyline type.
Declaration
public Style TrackBallLineStyle { get; set; }
Property Value
System.Windows.Style
|
Zoom
Gets or sets the current zoom (scale) of the chart.
Declaration
public Size Zoom { get; set; }
Property Value
System.Windows.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
System.Windows.Size
finalSize
The final area within the parent that this object should use to arrange itself and its children. |
Returns
System.Windows.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 System.Windows.Controls.Control.ApplyTemplate. 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
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
System.Object
sender
|
System.Windows.RoutedEventArgs
e
|
Overrides
OnPanOffsetChanged(ChartPanOffsetChangedEventArgs)
Raises the PanOffsetChanged event.
Declaration
protected virtual void OnPanOffsetChanged(ChartPanOffsetChangedEventArgs args)
Parameters
ChartPanOffsetChangedEventArgs
args
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
System.Object
sender
|
System.Windows.RoutedEventArgs
e
|
Overrides
OnZoomChanged(ChartZoomChangedEventArgs)
Raises the ZoomChanged event.
Declaration
protected virtual void OnZoomChanged(ChartZoomChangedEventArgs args)
Parameters
ChartZoomChangedEventArgs
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 Type
System.EventHandler<ChartPanOffsetChangedEventArgs>
|
PlotAreaClipChanged
Occurs when the chart's plot area gets changed.
Declaration
public event EventHandler PlotAreaClipChanged
Event Type
System.EventHandler
|
UIUpdated
Occurs when the chart's UI is updated.
Declaration
public event EventHandler UIUpdated
Event Type
System.EventHandler
|
ZoomChanged
Occurs when the chart zoom has changed.
Declaration
public event EventHandler<ChartZoomChangedEventArgs> ZoomChanged
Event Type
System.EventHandler<ChartZoomChangedEventArgs>
|