Class PolarLineSeries

    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
    DataMarkerSeries
    PolarRadarSeriesBase
    PolarSeries
    PolarLineSeries
    Implements
    ISupportAxes
    Inherited Members
    PolarRadarSeriesBase.DataLabelSettingsProperty
    PolarRadarSeriesBase.YBindingPathProperty
    PolarRadarSeriesBase.IsClosedProperty
    PolarRadarSeriesBase.StrokeDashArrayProperty
    PolarRadarSeriesBase.OnTapped(TappedRoutedEventArgs)
    PolarRadarSeriesBase.DataLabelSettings
    PolarRadarSeriesBase.YBindingPath
    PolarRadarSeriesBase.IsClosed
    PolarRadarSeriesBase.VisibleXRange
    PolarRadarSeriesBase.VisibleYRange
    PolarRadarSeriesBase.StrokeDashArray
    PolarRadarSeriesBase.ISupportAxes.ActualXAxis
    PolarRadarSeriesBase.ISupportAxes.ActualYAxis
    DataMarkerSeries.ShowDataLabelsProperty
    DataMarkerSeries.OnApplyTemplate()
    DataMarkerSeries.ShowDataLabels
    ChartSeries.SpacingProperty
    ChartSeries.TooltipTemplateProperty
    ChartSeries.EnableTooltipProperty
    ChartSeries.ListenPropertyChangeProperty
    ChartSeries.IsSeriesVisibleProperty
    ChartSeries.XBindingPathProperty
    ChartSeries.ItemsSourceProperty
    ChartSeries.TrackballLabelTemplateProperty
    ChartSeries.FillProperty
    ChartSeries.LabelProperty
    ChartSeries.LegendIconProperty
    ChartSeries.LegendIconTemplateProperty
    ChartSeries.IsVisibleOnLegendProperty
    ChartSeries.EnableAnimationProperty
    ChartSeries.AnimationDurationProperty
    ChartSeries.PaletteBrushesProperty
    ChartSeries.StrokeProperty
    ChartSeries.StrokeThicknessProperty
    ChartSeries.SuspendNotification()
    ChartSeries.ResumeNotification()
    ChartSeries.OnPointerPressed(PointerRoutedEventArgs)
    ChartSeries.OnPointerMoved(PointerRoutedEventArgs)
    ChartSeries.OnPointerExited(PointerRoutedEventArgs)
    ChartSeries.OnPointerReleased(PointerRoutedEventArgs)
    ChartSeries.PaletteBrushes
    ChartSeries.TooltipTemplate
    ChartSeries.EnableTooltip
    ChartSeries.ListenPropertyChange
    ChartSeries.IsSeriesVisible
    ChartSeries.ItemsSource
    ChartSeries.TrackballLabelTemplate
    ChartSeries.Fill
    ChartSeries.Label
    ChartSeries.LegendIcon
    ChartSeries.LegendIconTemplate
    ChartSeries.IsVisibleOnLegend
    ChartSeries.XBindingPath
    ChartSeries.EnableAnimation
    ChartSeries.AnimationDuration
    ChartSeries.StrokeThickness
    ChartSeries.Chart
    ChartSeries.Stroke
    ChartSeries.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.Chart.WinUI.dll
    Syntax
    public class PolarLineSeries : PolarSeries, ISupportAxes
    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, StrokeThickness, StrokeDashArray, and opacity to customize the appearance.

    Data Label

    To customize the appearance of data labels, refer to the ShowDataLabels, and DataLabelSettings 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

    ISupportAxes

    See Also

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