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

Base class for all series of data points, plotted on a RadChartBase instance.

Definition

Constructors

Initializes a new instance of the ChartSeries class.

C#
protected ChartSeries()

Fields

AllowSelectProperty

DependencyProperty

Identifies the AllowSelect property.

C#
public static readonly DependencyProperty AllowSelectProperty

ClipToPlotAreaProperty

DependencyProperty

Identifies the ClipToPlotArea property.

C#
public static readonly DependencyProperty ClipToPlotAreaProperty

DisplayNameProperty

DependencyProperty

Identifies the DisplayName dependency property.

C#
public static readonly DependencyProperty DisplayNameProperty

IsSelectedProperty

DependencyProperty

Identifies the IsSelected property.

C#
public static readonly DependencyProperty IsSelectedProperty

ItemsSourceProperty

DependencyProperty

Identifies the ItemsSource property.

C#
public static readonly DependencyProperty ItemsSourceProperty

Identifies the LabelConnectorsSettings dependency property.

C#
public static readonly DependencyProperty LabelConnectorsSettingsProperty

PointAnimationProperty

DependencyProperty

Identifies the PointAnimation property.

C#
public static readonly DependencyProperty PointAnimationProperty

SeriesAnimationProperty

DependencyProperty

Identifies the SeriesAnimation property.

C#
public static readonly DependencyProperty SeriesAnimationProperty

ShowLabelsProperty

DependencyProperty

Identifies the ShowLabels property.

C#
public static readonly DependencyProperty ShowLabelsProperty

TooltipTemplateProperty

DependencyProperty

Identifies the TooltipTemplate dependency property.

C#
public static readonly DependencyProperty TooltipTemplateProperty

Identifies the TrackBallInfoTemplate property.

C#
public static readonly DependencyProperty TrackBallInfoTemplateProperty

TrackBallTemplateProperty

DependencyProperty

Identifies the TrackBallTemplate property.

C#
public static readonly DependencyProperty TrackBallTemplateProperty

Properties

Determines whether the series might enter the IsSelected state.

C#
public bool AllowSelect { get; set; }

Gets or sets a value indicating whether this instance will be clipped to the bounds of the plot area.

C#
public bool ClipToPlotArea { get; set; }

Gets or sets the human-readable name of the series.

C#
public string DisplayName { get; set; }

Gets or sets a value indicating whether the series is currently in a "Selected" state. Usually this state is indicated by a change in the visual representation of the series.

C#
public bool IsSelected { get; set; }

Gets or sets the source items to generate data points from.

C#
public IEnumerable ItemsSource { get; set; }

Gets or sets the connectors settings. When the value of this property is null, label connectors are not drawn.

C#
public ChartSeriesLabelConnectorsSettings LabelConnectorsSettings { get; set; }

Gets the collection that stores all the definitions that describe the appearance of each label per data point. When ShowLabels is true and no custom definition is present within the collection, a default one is used.

C#
public ObservableCollection<ChartSeriesLabelDefinition> LabelDefinitions { get; }

Gets or sets the animation for this data points in this series instance.

C#
public ChartAnimationBase PointAnimation { get; set; }

Gets or sets the animation for this series instance.

C#
public ChartAnimationBase SeriesAnimation { get; set; }

Gets or sets a value indicating whether the series will display a label associated with each data point.

C#
public bool ShowLabels { get; set; }

TooltipTemplate

DataTemplate

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

C#
public DataTemplate TooltipTemplate { get; set; }

Gets or sets the template used to visualize the information about this series in a ChartTrackBallBehavior TrackInfo control.

C#
public DataTemplate TrackBallInfoTemplate { get; set; }

TrackBallTemplate

DataTemplate

Gets or sets the template used to visualize an intersection point between a ChartTrackBallBehavior line and a data point that is contained within this series.

C#
public DataTemplate TrackBallTemplate { get; set; }

Methods

Gets all the FrameworkElement instances that represent labels, associated with the specified DataPoint instance.

C#
public IEnumerable<FrameworkElement> GetDataPointLabels(DataPoint point)
Parameters:pointDataPointReturns:

IEnumerable<FrameworkElement>

Gets the points which build the label connector polyline.

C#
protected virtual List<Point> GetLabelConnector(ChartSeriesLabelPositionInfo info)
Parameters:infoChartSeriesLabelPositionInfoReturns:

List<Point>

Determines whether the provided touch Rect is within the series visual representation.

C#
public virtual bool HitTest(Rect touchRect)
Parameters:touchRectRectReturns:

bool

Finds all the data points which visual representations contain the specified touch Rect.

C#
public IEnumerable<DataPoint> HitTestDataPoints(Rect touchRect)
Parameters:touchRectRectReturns:

IEnumerable<DataPoint>

Performs the core logic behind the HitTestDataPoints(Rect) method.

C#
protected virtual IEnumerable<DataPoint> HitTestDataPointsCore(Rect touchRect)
Parameters:touchRectRectReturns:

IEnumerable<DataPoint>

Finds all the visual representations that contain the specified touch Rect.

C#
public IEnumerable<FrameworkElement> HitTestElements(Rect touchRect)
Parameters:touchRectRectReturns:

IEnumerable<FrameworkElement>

Performs the core logic behind the HitTestElements(Rect) method.

C#
protected virtual IEnumerable<FrameworkElement> HitTestElementsCore(Rect touchRect)
Parameters:touchRectRectReturns:

IEnumerable<FrameworkElement>

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()

Occurs when the presenter has been successfully attached to its owning RadChartBase instance.

C#
protected override void OnAttached()

Overrides: ChartElementPresenter.OnAttached()

Occurs when the presenter has been successfully detached from its owning RadChartBase instance.

C#
protected override void OnDetached(RadChartBase oldChart)
Parameters:oldChartRadChartBase

Overrides: ChartElementPresenter.OnDetached(RadChartBase)

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)

Occurs when the PointAnimation for every datapoint is about to be played.

C#
protected virtual void OnPlayPointAnimations(bool hidePointsOnLoad)
Parameters:hidePointsOnLoadbool

Occurs when the SeriesAnimation is about to be played.

C#
protected virtual void OnPlaySeriesAnimation(bool hideSeriesOnLoad)
Parameters:hideSeriesOnLoadbool

Occurs when the has been changed.

C#
protected virtual void OnVisibilityChanged()

Plays the PointAnimation for all data points in this series instance.

C#
public void PlayPointAnimations()

Plays the SeriesAnimation for this series instance.

C#
public void PlaySeriesAnimation()

Events

Occurs when a databinding operation has been successfully completed.

C#
public event EventHandler DataBindingComplete

Occurs when the PointAnimation for every datapoint of this series has completed.

C#
public event EventHandler PointAnimationsCompleted

Occurs when the SeriesAnimation has completed.

C#
public event EventHandler SeriesAnimationCompleted