We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Overview

The WinUI Polar Chart visualizes data in terms of values and angles. It provides options for visual comparison between several quantitative or qualitative aspects of a situation.

WinUI Polar Chart Documentation

WinUI Polar Chart


Key Features

Different WinUI Polar Chart

Draw Type

Line and area shapes are rendered for data representation and greater UI visualization.

WinUI Polar Chart with Customized Angle

Rendering Position

Customize the start angle of the WinUI Polar Chart to visualize data in a different perspective.

WinUI Polar Chart Customized Color and Dashes

UI Styling

Customize the color and dashes of the WinUI Polar Chart using built-in APIs to make it visually unique.

WinUI Radar Chart

WinUI Radar Chart

Customize the rendering type of axis grid lines such as radar chart, spider chart, or web chart.


Code Example

Easily get started with WinUI Polar Chart using a few simple lines of XAML and C# code, as demonstrated below.

<Window x:Class="ChartExample.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="using:ChartExample"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:chart="using:Syncfusion.UI.Xaml.Charts"
        mc:Ignorable="d"
        Title="WinUI Polar Chart" Height="450" Width="700">
    
    <!--Setting DataContext-->
    <Window.DataContext>
        <local:ViewModel/>
    </Window.DataContext>
    
    <StackPanel>
       <chart:SfPolarChart Height="298" Width="353">
           <!--Initialize the horizontal axis for the WinUI Chart-->
            <chart:SfPolarChart.PrimaryAxis>
                <chart:DateTimeAxis LabelFormat="ddd" />
            </chart:SfPolarChart.PrimaryAxis>

            <!--Initialize the vertical axis for the WinUI Chart-->
            <chart:SfPolarChart.SecondaryAxis>
                <chart:NumericalAxis />
            </chart:SfPolarChart.SecondaryAxis>

            <!--Adding Polar Series to the WinUI Chart-->
            <chart:PolarAreaSeries DrawType="Area" ItemsSource="{Binding PlantDetails}"             XBindingPath="Direction" YBindingPath="Tree">
            </chart:PolarAreaSeries>
        </chart:SfPolarChart>
    </StackPanel>
</Window>
public class PolarChartModel
    {
        public string Direction { get; set; }
        public double Weed { get; set; }
        public double Flower { get; set; }
        public double Tree { get; set; }
    }


    public class ViewModel
    {
       public ObservableCollection<PolarChartModel> PlantDetails { get; set; }


        public ViewModel()
        {
            this.PlantDetails = new ObservableCollection<PolarChartModel>();
            this.PlantDetails.Add(new PolarChartModel() { Direction = "North", Weed = 63, Flower = 42, Tree = 80 });
            this.PlantDetails.Add(new PolarChartModel() { Direction = "NorthEast", Weed = 70, Flower = 40, Tree = 85 });
            this.PlantDetails.Add(new PolarChartModel() { Direction = "East", Weed = 45, Flower = 25, Tree = 78 });
            this.PlantDetails.Add(new PolarChartModel() { Direction = "SouthEast", Weed = 70, Flower = 40, Tree = 90 });
            this.PlantDetails.Add(new PolarChartModel() { Direction = "South", Weed = 47, Flower = 20, Tree = 78 });
            this.PlantDetails.Add(new PolarChartModel() { Direction = "SouthWest", Weed = 65, Flower = 45, Tree = 83 });
            this.PlantDetails.Add(new PolarChartModel() { Direction = "West", Weed = 58, Flower = 40, Tree = 79 });
            this.PlantDetails.Add(new PolarChartModel() { Direction = "NorthWest", Weed = 73, Flower = 28, Tree = 88 });
         
        }
    }

Learning Resources

Navigate to GitHub code used to configure the WinUI Polar Chart

GitHub Code

Explore the WinUI Polar Chart example from GitHub to learn how to render and configure charts.

Navigate to the options available in the user guide to customize the WinUI Polar Chart

WinUI Polar Chart User Guide

Learn more about the available options to customize WinUI Polar Charts.

Navigate to the API references documentation of the WinUI Polar Chart

WinUI Polar Chart API Reference

Explore the WinUI Polar Chart APIs.


Syncfusion WinUI DataViz & UI Controls

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon