menu

WinUI

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

    Show / Hide Table of Contents

    Class PolarLineSeries

    The PolarLineSeries is a series that displays data in terms of values and angles by using a collection of straight lines. It allows for the visual comparison of several quantitative or qualitative aspects of a situation.

    Inheritance
    System.Object
    ChartSeries
    PolarSeries
    PolarLineSeries
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ChartSeries.ActualXAxis
    ChartSeries.ActualYAxis
    ChartSeries.AnimationDuration
    ChartSeries.AnimationDurationProperty
    ChartSeries.Chart
    ChartSeries.EnableAnimation
    ChartSeries.EnableAnimationProperty
    ChartSeries.EnableTooltip
    ChartSeries.EnableTooltipProperty
    ChartSeries.Fill
    ChartSeries.FillProperty
    ChartSeries.IsSeriesVisible
    ChartSeries.IsSeriesVisibleProperty
    ChartSeries.IsVisibleOnLegend
    ChartSeries.IsVisibleOnLegendProperty
    ChartSeries.ItemsSource
    ChartSeries.ItemsSourceProperty
    ChartSeries.Label
    ChartSeries.LabelProperty
    ChartSeries.LegendIcon
    ChartSeries.LegendIconProperty
    ChartSeries.LegendIconTemplate
    ChartSeries.LegendIconTemplateProperty
    ChartSeries.ListenPropertyChange
    ChartSeries.ListenPropertyChangeProperty
    ChartSeries.OnPointerExited(PointerRoutedEventArgs)
    ChartSeries.OnPointerMoved(PointerRoutedEventArgs)
    ChartSeries.OnPointerPressed(PointerRoutedEventArgs)
    ChartSeries.OnPointerReleased(PointerRoutedEventArgs)
    ChartSeries.PaletteBrushes
    ChartSeries.PaletteBrushesProperty
    ChartSeries.PropertyChanged
    ChartSeries.ResumeNotification()
    ChartSeries.SelectionBehavior
    ChartSeries.SelectionBehaviorProperty
    ChartSeries.ShowDataLabels
    ChartSeries.ShowDataLabelsProperty
    ChartSeries.SpacingProperty
    ChartSeries.SuspendNotification()
    ChartSeries.TooltipTemplate
    ChartSeries.TooltipTemplateProperty
    ChartSeries.TrackballLabelTemplate
    ChartSeries.TrackballLabelTemplateProperty
    ChartSeries.XBindingPath
    ChartSeries.XBindingPathProperty
    PolarSeries.DataLabelSettings
    PolarSeries.DataLabelSettingsProperty
    PolarSeries.IsClosed
    PolarSeries.IsClosedProperty
    PolarSeries.OnApplyTemplate()
    PolarSeries.OnTapped(TappedRoutedEventArgs)
    PolarSeries.Stroke
    PolarSeries.StrokeDashArray
    PolarSeries.StrokeDashArrayProperty
    PolarSeries.StrokeProperty
    PolarSeries.StrokeWidth
    PolarSeries.StrokeWidthProperty
    PolarSeries.YBindingPath
    PolarSeries.YBindingPathProperty
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.Chart.WinUI.dll
    Syntax
    public class PolarLineSeries : PolarSeries, INotifyPropertyChanged
    Remarks

    To render a series, create an instance of polar line series class, and add it to the Series collection.

    It provides options for Fill, PaletteBrushes, StrokeWidth, , and opacity to customize the appearance.

    Data Label

    To customize the appearance of data labels, refer to the , and properties.

    • Xaml
    • C#
        <chart:SfPolarChart>
    
            <!--omitted for brevity-->
    
            <chart:PolarLineSeries ItemsSource="{Binding Data}"
                                   XBindingPath="XValue"
                                   YBindingPath="YValue"
                                   ShowDataLabels="True">
                <chart:PolarLineSeries.DataLabelSettings>
                    <chart:PolarDataLabelSettings />
                </chart:PolarLineSeries.DataLabelSettings>
            </chart:PolarLineSeries>
    
        </chart:SfPolarChart>
        SfPolarChart chart = new SfPolarChart();
        ViewModel viewModel = new ViewModel();
    
        PolarLineSeries series = new PolarLineSeries();
        series.ItemsSource = viewModel.Data;
        series.XBindingPath = "XValue";
        series.YBindingPath = "YValue";
        series.ShowDataLabels = true;
        series.DataLabelSettings = new PolarDataLabelSettings();
        chart.Series.Add(series);

    Animation

    To animate the series, refer to the EnableAnimation property.

    • Xaml
    • C#
        <chart:SfPolarChart>
    
            <!--omitted for brevity-->
    
            <chart:PolarLineSeries ItemsSource="{Binding Data}"
                                   XBindingPath="XValue"
                                   YBindingPath="YValue"
                                   EnableAnimation="True"/>
    
        </chart:SfPolarChart>
        SfPolarChart chart = new SfPolarChart();
        ViewModel viewModel = new ViewModel();
    
        PolarLineSeries series = new PolarLineSeries();
        series.ItemsSource = viewModel.Data;
        series.XBindingPath = "XValue";
        series.YBindingPath = "YValue";
        series.EnableAnimation = true;
        chart.Series.Add(series);

    LegendIcon

    To customize the legend icon, refer to the LegendIcon, LegendIconTemplate, and properties.

    • Xaml
    • C#
        <chart:SfPolarChart>
    
            <!--omitted for brevity-->
    
            <chart:SfPolarChart.Legend>
                <chart:ChartLegend/>
            </chart:SfPolarChart.Legend>
    
            <chart:PolarLineSeries ItemsSource="{Binding Data}"
                                   XBindingPath="XValue"
                                   YBindingPath="YValue"
                                   LegendIcon="Diamond"/>
        SfPolarChart chart = new SfPolarChart();
        ViewModel viewModel = new ViewModel();
    
        chart.Legend = new ChartLegend();
    
        PolarLineSeries series = new PolarLineSeries();
        series.ItemsSource = viewModel.Data;
        series.XBindingPath = "XValue";
        series.YBindingPath = "YValue";
        series.LegendIcon = ChartLegendIcon.Diamond;
        chart.Series.Add(series);

    Constructors

    PolarLineSeries()

    Initializes a new instance of the PolarLineSeries.

    Declaration
    public PolarLineSeries()

    Implements

    System.ComponentModel.INotifyPropertyChanged

    See Also

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