menu

UWP

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

    Show / Hide Table of Contents

    Class CartesianSeries

    Serves as a base class for all the Cartesian chart types used to visualize data points in Cartersian coordinate system.

    Inheritance
    System.Object
    ChartSeriesBase
    ChartSeries
    AdornmentSeries
    CartesianSeries
    FinancialSeriesBase
    RangeSeriesBase
    XyDataSeries
    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()
    AdornmentSeries.GeneratePoints()
    AdornmentSeries.OnDataSourceChanged(IEnumerable, IEnumerable)
    ChartSeries.Area
    ChartSeries.CreateSegment()
    ChartSeries.GetDataPointIndex(Double, Double)
    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.FindNearestChartPoint(Point, Double, Double, Double)
    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.OnBindingPathChanged(DependencyPropertyChangedEventArgs)
    ChartSeriesBase.OnDataSourceChanged(DependencyPropertyChangedEventArgs)
    ChartSeriesBase.OnPointerExited(PointerRoutedEventArgs)
    ChartSeriesBase.OnPointerMoved(PointerRoutedEventArgs)
    ChartSeriesBase.OnPointerPressed(PointerRoutedEventArgs)
    ChartSeriesBase.OnPointerReleased(PointerRoutedEventArgs)
    ChartSeriesBase.OnSeriesMouseDown(Object, Point)
    ChartSeriesBase.OnSeriesMouseUp(Object, Point)
    ChartSeriesBase.OnTapped(TappedRoutedEventArgs)
    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
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.UWP.dll
    Syntax
    public abstract class CartesianSeries : AdornmentSeries, ICloneable, ISupportAxes2D, ISupportAxes
    Examples
          <syncfusion:BarSeries ItemsSource="{Binding Data}" XBindingPath="Year" YBindingPath="Value">
          </syncfusion:BarSeries>
          BarSeries series1 = new BarSeries();
          series1.ItemsSource = viewmodel.Data;
          series1.XBindingPath = "Year";
          series1.YBindingPath = "Value";
          chart.Series.Add(series1);

    Constructors

    CartesianSeries()

    Called when instance created for CartesianSeries

    Declaration
    public CartesianSeries()

    Fields

    IsTransposedProperty

    The DependencyProperty for IsTransposed property.

    Declaration
    public static readonly DependencyProperty IsTransposedProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    ShowTrackballInfoProperty

    The DependencyProperty for ShowTrackballInfo property.

    Declaration
    public static readonly DependencyProperty ShowTrackballInfoProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    TrendlinesProperty

    The DependencyProperty for Trendlines property.

    Declaration
    public static readonly DependencyProperty TrendlinesProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    XAxisProperty

    The DependencyProperty for XAxis property.

    Declaration
    public static readonly DependencyProperty XAxisProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    YAxisProperty

    The DependencyProperty for YAxis property.

    Declaration
    public static readonly DependencyProperty YAxisProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    IsTransposed

    Gets or sets a value indicating whether to exchange the orientation of the series.

    Declaration
    public bool IsTransposed { get; set; }
    Property Value
    Type Description
    System.Boolean

    True exchanges the horizontal axis to vertical and vice versa. False is the default behavior.

    ShowTrackballInfo

    Gets or sets a value indicating whether to show/hide the series information.

    Declaration
    public bool ShowTrackballInfo { get; set; }
    Property Value
    Type
    System.Boolean

    Trendlines

    Gets or sets the trendline collection for this series.

    Declaration
    public ChartTrendLineCollection Trendlines { get; set; }
    Property Value
    Type
    ChartTrendLineCollection
    Remarks

    Trends consider only non empty sets of corresponding CartesianSeries.

    XAxis

    Gets or sets the additional x axis for this series.

    Declaration
    public ChartAxisBase2D XAxis { get; set; }
    Property Value
    Type
    ChartAxisBase2D
    Remarks

    This property is used to add multiple axis in SfChart.

    Examples
        <syncfusion:ColumnSeries ItemsSource="{Binding Demands}" XBindingPath="Demand" YBindingPath="Year2010">
             <syncfusion:ColumnSeries.XAxis>
                  <syncfusion:NumericalAxis Header="Additional X Axis"/>
             </syncfusion:ColumnSeries.XAxis>
         </syncfusion:ColumnSeries>

    XRange

    Gets or sets the x axis range corresponding to this series.

    Declaration
    public DoubleRange XRange { get; }
    Property Value
    Type
    DoubleRange

    YAxis

    Gets or sets the additional y axis for this series.

    Declaration
    public RangeAxisBase YAxis { get; set; }
    Property Value
    Type
    RangeAxisBase
    Remarks

    This property is used to add multiple axis in SfChart.

    Examples
        <syncfusion:ColumnSeries ItemsSource="{Binding Demands}" XBindingPath="Demand" YBindingPath="Year2010">
             <syncfusion:ColumnSeries.YAxis>
                  <syncfusion:NumericalAxis Header="Additional Y Axis"/>
             </syncfusion:ColumnSeries.YAxis>
         </syncfusion:ColumnSeries>

    YRange

    Gets or sets the y axis range corresponding to this series.

    Declaration
    public DoubleRange YRange { get; }
    Property Value
    Type
    DoubleRange

    Methods

    CloneSeries(DependencyObject)

    Returns the instance of this series.

    Declaration
    protected override DependencyObject CloneSeries(DependencyObject obj)
    Parameters
    Type Name Description
    Windows.UI.Xaml.DependencyObject obj

    object

    Returns
    Type
    Windows.UI.Xaml.DependencyObject
    Overrides
    AdornmentSeries.CloneSeries(DependencyObject)

    GetDataPoints(Double, Double, Double, Double)

    Method to get the data points from the given range.

    Declaration
    public List<object> GetDataPoints(double startX, double endX, double startY, double endY)
    Parameters
    Type Name Description
    System.Double startX

    start x

    System.Double endX

    end x

    System.Double startY

    start y

    System.Double endY

    end y

    Returns
    Type Description
    System.Collections.Generic.List<System.Object>

    The data points

    Remarks

    This method will work only after render the series in visual.

    GetDataPoints(Rect)

    Method to get the visible range data points.

    Declaration
    public List<object> GetDataPoints(Rect rectangle)
    Parameters
    Type Name Description
    Windows.Foundation.Rect rectangle

    The Rectangle.

    Returns
    Type Description
    System.Collections.Generic.List<System.Object>

    The data points.

    Remarks

    This method will work only after render the series in visual.

    OnApplyTemplate()

    Invoke to render chart series.

    Declaration
    protected override void OnApplyTemplate()
    Overrides
    AdornmentSeries.OnApplyTemplate()

    OnVisibleRangeChanged(VisibleRangeChangedEventArgs)

    Called when VisibleRange property changed.

    Declaration
    protected virtual void OnVisibleRangeChanged(VisibleRangeChangedEventArgs e)
    Parameters
    Type Name Description
    VisibleRangeChangedEventArgs e

    OnXAxisChanged(ChartAxis, ChartAxis)

    Called when XAxis created or changed.

    Declaration
    protected virtual void OnXAxisChanged(ChartAxis oldAxis, ChartAxis newAxis)
    Parameters
    Type Name Description
    ChartAxis oldAxis
    ChartAxis newAxis

    OnYAxisChanged(ChartAxis, ChartAxis)

    Called when YAxis created or changed.

    Declaration
    protected virtual void OnYAxisChanged(ChartAxis oldAxis, ChartAxis newAxis)
    Parameters
    Type Name Description
    ChartAxis oldAxis
    ChartAxis newAxis

    Explicit Interface Implementations

    ISupportAxes.ActualXAxis

    Declaration
    ChartAxis ISupportAxes.ActualXAxis { get; }
    Returns
    Type
    ChartAxis

    ISupportAxes.ActualYAxis

    Declaration
    ChartAxis ISupportAxes.ActualYAxis { get; }
    Returns
    Type
    ChartAxis

    Implements

    ICloneable
    ISupportAxes2D
    ISupportAxes

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved