menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StackingSeriesBase - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StackingSeriesBase

    Represents a base class for all stacked chart series in chart.

    Inheritance
    System.Object
    ChartSeriesBase
    ChartSeries
    AdornmentSeries
    CartesianSeries
    XyDataSeries
    StackingSeriesBase
    FastStackingColumnBitmapSeries
    StackingAreaSeries
    StackingBarSeries
    StackingColumnSeries
    StackingLineSeries
    Implements
    ICloneable
    ISupportAxes2D
    ISupportAxes
    Inherited Members
    AdornmentSeries.AddAdornmentAtXY(Double, Double, Int32)
    AdornmentSeries.AddAreaAdornments(IList<Double>[])
    AdornmentSeries.AddColumnAdornments(Double[])
    AdornmentSeries.AdornmentLabelCreated
    AdornmentSeries.AdornmentsInfo
    AdornmentSeries.AdornmentsInfoProperty
    AdornmentSeries.ClearUnUsedAdornments(Int32)
    AdornmentSeries.CreateAdornment(AdornmentSeries, Double, Double, Double, Double)
    AdornmentSeries.CreateSegments()
    CartesianSeries.GetDataPoints(Double, Double, Double, Double)
    CartesianSeries.GetDataPoints(Rect)
    CartesianSeries.IsTransposed
    CartesianSeries.IsTransposedProperty
    CartesianSeries.ISupportAxes.ActualXAxis
    CartesianSeries.ISupportAxes.ActualYAxis
    CartesianSeries.OnApplyTemplate()
    CartesianSeries.OnVisibleRangeChanged(VisibleRangeChangedEventArgs)
    CartesianSeries.OnXAxisChanged(ChartAxis, ChartAxis)
    CartesianSeries.OnYAxisChanged(ChartAxis, ChartAxis)
    CartesianSeries.ShowTrackballInfo
    CartesianSeries.ShowTrackballInfoProperty
    CartesianSeries.Trendlines
    CartesianSeries.TrendlinesProperty
    CartesianSeries.XAxis
    CartesianSeries.XAxisProperty
    CartesianSeries.XRange
    CartesianSeries.YAxis
    CartesianSeries.YAxisProperty
    CartesianSeries.YRange
    ChartSeries.Area
    ChartSeries.CreateSegment()
    ChartSeries.GetDataPointIndex(Double, Double)
    ChartSeries.OnCreateAutomationPeer()
    ChartSeries.Stroke
    ChartSeries.StrokeProperty
    ChartSeries.StrokeThickness
    ChartSeries.StrokeThicknessProperty
    ChartSeriesBase.ActualXAxis
    ChartSeriesBase.ActualXValues
    ChartSeriesBase.ActualYAxis
    ChartSeriesBase.Adornments
    ChartSeriesBase.AnimationDuration
    ChartSeriesBase.AnimationDurationProperty
    ChartSeriesBase.ChartTransformer
    ChartSeriesBase.ClearUnUsedSegments(Int32)
    ChartSeriesBase.Clone()
    ChartSeriesBase.ColorModel
    ChartSeriesBase.ColorModelProperty
    ChartSeriesBase.ColorValues
    ChartSeriesBase.CreateEmptyPointSegments(IList<Double>, List<List<Double>>, List<List<Double>>)
    ChartSeriesBase.CreateTransformer(Size, Boolean)
    ChartSeriesBase.DataCount
    ChartSeriesBase.EmptyPointInterior
    ChartSeriesBase.EmptyPointInteriorProperty
    ChartSeriesBase.EmptyPointStyle
    ChartSeriesBase.EmptyPointStyleProperty
    ChartSeriesBase.EmptyPointSymbolTemplate
    ChartSeriesBase.EmptyPointSymbolTemplateProperty
    ChartSeriesBase.EmptyPointValue
    ChartSeriesBase.EmptyPointValueProperty
    ChartSeriesBase.EnableAnimation
    ChartSeriesBase.EnableAnimationProperty
    ChartSeriesBase.GeneratePoints(String[], IList<Double>[])
    ChartSeriesBase.GetAvailableSize()
    ChartSeriesBase.GetPreviousSeries(ChartSeriesBase)
    ChartSeriesBase.GetSideBySideInfo(ChartSeriesBase)
    ChartSeriesBase.GetSpacing(DependencyObject)
    ChartSeriesBase.GetXValues()
    ChartSeriesBase.InitialDelayTimer
    ChartSeriesBase.Interior
    ChartSeriesBase.InteriorProperty
    ChartSeriesBase.Invalidate()
    ChartSeriesBase.IsAreaTypeSeries
    ChartSeriesBase.IsBitmapSeries
    ChartSeriesBase.IsColorPathSeries
    ChartSeriesBase.IsIndexed
    ChartSeriesBase.IsLinear
    ChartSeriesBase.IsSeriesVisible
    ChartSeriesBase.IsSeriesVisibleProperty
    ChartSeriesBase.IsSideBySide
    ChartSeriesBase.IsSortData
    ChartSeriesBase.IsSortDataProperty
    ChartSeriesBase.IsStacked
    ChartSeriesBase.IsTooltipAvailable(Canvas)
    ChartSeriesBase.ItemsSource
    ChartSeriesBase.ItemsSourceProperty
    ChartSeriesBase.Label
    ChartSeriesBase.LabelProperty
    ChartSeriesBase.LegendIcon
    ChartSeriesBase.LegendIconProperty
    ChartSeriesBase.LegendIconTemplate
    ChartSeriesBase.LegendIconTemplateProperty
    ChartSeriesBase.ListenPropertyChange
    ChartSeriesBase.ListenPropertyChangeProperty
    ChartSeriesBase.OnDataSourceChanged(DependencyPropertyChangedEventArgs)
    ChartSeriesBase.OnMouseLeave(MouseEventArgs)
    ChartSeriesBase.OnMouseLeftButtonDown(MouseButtonEventArgs)
    ChartSeriesBase.OnMouseLeftButtonUp(MouseButtonEventArgs)
    ChartSeriesBase.OnMouseMove(MouseEventArgs)
    ChartSeriesBase.OnSeriesMouseDown(Object, Point)
    ChartSeriesBase.OnSeriesMouseUp(Object, Point)
    ChartSeriesBase.Palette
    ChartSeriesBase.PaletteProperty
    ChartSeriesBase.Position(Point, ChartTooltip)
    ChartSeriesBase.PropertyChanged
    ChartSeriesBase.ResumeNotification()
    ChartSeriesBase.SegmentColorPath
    ChartSeriesBase.SegmentColorPathProperty
    ChartSeriesBase.Segments
    ChartSeriesBase.SelectedIndexChanged(Int32, Int32)
    ChartSeriesBase.SelectedSegment
    ChartSeriesBase.SelectedSegments
    ChartSeriesBase.SelectedSegmentsIndexes
    ChartSeriesBase.SeriesSelectionBrush
    ChartSeriesBase.SeriesSelectionBrushProperty
    ChartSeriesBase.SetDoubleAnimation(ChartTooltip)
    ChartSeriesBase.SetIndividualDataTablePoint(Int32, Object, Boolean)
    ChartSeriesBase.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeriesBase.SetSpacing(DependencyObject, Double)
    ChartSeriesBase.SetTooltipDuration()
    ChartSeriesBase.ShowEmptyPoints
    ChartSeriesBase.ShowEmptyPointsProperty
    ChartSeriesBase.ShowTooltip
    ChartSeriesBase.ShowTooltipProperty
    ChartSeriesBase.SortBy
    ChartSeriesBase.SortByProperty
    ChartSeriesBase.SortDirection
    ChartSeriesBase.SortDirectionProperty
    ChartSeriesBase.SpacingProperty
    ChartSeriesBase.SuspendNotification()
    ChartSeriesBase.Timer
    ChartSeriesBase.TooltipTemplate
    ChartSeriesBase.TooltipTemplateProperty
    ChartSeriesBase.TrackBallLabelTemplate
    ChartSeriesBase.TrackBallLabelTemplateProperty
    ChartSeriesBase.UpdateArea()
    ChartSeriesBase.UpdateSegments(Int32, NotifyCollectionChangedAction)
    ChartSeriesBase.VisibilityOnLegend
    ChartSeriesBase.VisibilityOnLegendProperty
    ChartSeriesBase.XBindingPath
    ChartSeriesBase.XBindingPathProperty
    ChartSeriesBase.YPaths
    XyDataSeries.CloneSeries(DependencyObject)
    XyDataSeries.GeneratePoints()
    XyDataSeries.YBindingPath
    XyDataSeries.YBindingPathProperty
    XyDataSeries.YValues
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public abstract class StackingSeriesBase : XyDataSeries, ICloneable, ISupportAxes2D, ISupportAxes

    Constructors

    StackingSeriesBase()

    Declaration
    protected StackingSeriesBase()

    Fields

    GroupingLabelProperty

    The DependencyProperty for GroupingLabel property. .

    Declaration
    public static readonly DependencyProperty GroupingLabelProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    GroupingLabel

    Gets or sets the label to group and stack the similar stacked series types. This is a bindable property.

    Declaration
    public string GroupingLabel { get; set; }
    Property Value
    Type
    System.String
    Examples
          <syncfusion:StackingColumnSeries GroupingLabel="Group1" ItemsSource="{Binding Data}" XBindingPath="Year" YBindingPath="Value">
          </syncfusion:StackingColumnSeries>
       StackingColumnSeries series1 = new StackingColumnSeries();
       series1.GroupingLabel="Group1";
       chart.Series.Add(series1);

    YRangeEndValues

    Gets or sets the end y values collection to render the stacked series.

    Declaration
    protected IList<double> YRangeEndValues { get; set; }
    Property Value
    Type
    System.Collections.Generic.IList<System.Double>

    YRangeStartValues

    Gets or sets the start y values collection to render the stacked series.

    Declaration
    protected IList<double> YRangeStartValues { get; set; }
    Property Value
    Type
    System.Collections.Generic.IList<System.Double>

    Methods

    FindNearestChartPoint(Point, out Double, out Double, out Double)

    Finds the nearest point in ChartSeries relative to the mouse point/touch position.

    Declaration
    public override void FindNearestChartPoint(Point point, out double x, out double y, out double stackedYValue)
    Parameters
    Type Name Description
    System.Windows.Point point

    The co-ordinate point representing the current mouse point /touch position.

    System.Double x

    x-value of the nearest point.

    System.Double y

    y-value of the nearest point

    System.Double stackedYValue

    stackedyvalue

    Overrides
    ChartSeriesBase.FindNearestChartPoint(Point, out Double, out Double, out Double)

    GetCumulativeStackValues(ChartSeriesBase)

    Returns the stacked value of the series.

    Declaration
    public StackingValues GetCumulativeStackValues(ChartSeriesBase series)
    Parameters
    Type Name Description
    ChartSeriesBase series

    ChartSeries instance

    Returns
    Type Description
    StackingValues

    returns StackedYValues

    GetStackedYValue(Int32)

    Return stacked double value from the given index.

    Declaration
    protected double GetStackedYValue(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Used to specify the index of yvalues.

    Returns
    Type Description
    System.Double

    Returns the stacked yvalue.

    OnBindingPathChanged(DependencyPropertyChangedEventArgs)

    Invoked when XBindingPath or YBindingPath properties changed.

    Declaration
    protected override void OnBindingPathChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data

    Overrides
    XyDataSeries.OnBindingPathChanged(DependencyPropertyChangedEventArgs)

    OnDataSourceChanged(IEnumerable, IEnumerable)

    Invoked when ItemsSource property changed.

    Declaration
    protected override void OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
    Parameters
    Type Name Description
    System.Collections.IEnumerable oldValue

    Old itemssource collection.

    System.Collections.IEnumerable newValue

    New itemssource collection.

    Overrides
    XyDataSeries.OnDataSourceChanged(IEnumerable, IEnumerable)
    See Also
    XBindingPath
    YBindingPath

    Implements

    ICloneable
    ISupportAxes2D
    ISupportAxes
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved