Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-winui-polar-chartsSynfusion Winui 极坐标图

Agent Skill

syncfusion-winui-polar-charts 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

564

周安装

24

GitHub Stars

公开资料未说明

下载量

198
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-winui-polar-charts(Synfusion Winui 极坐标图)
来源仓库:https://github.com/syncfusion/winui-ui-components-skills
仓库路径:skills/syncfusion-winui-polar-charts
安装命令:
npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill syncfusion-winui-polar-charts
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill syncfusion-winui-polar-charts

简介

Synfusion WinUI 极坐标图组件,用于雷达图或极坐标数据可视化。

  • 适用于数据分析与图表渲染场景,可在指定 AI 工具链中使用。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令完成集成。
  • 安装时需注意组件依赖项及潜在的网络访问需求。
  • 建议查看原始 SKILL.md 获取坐标系配置与样式自定义说明。

SKILL.md

Implementing Polar Charts in WinUI

Comprehensive guide for implementing the Syncfusion® WinUI Polar Chart (SfPolarChart) control in Windows App SDK applications. Polar charts visualize data in terms of values and angles, making them ideal for comparing multiple dimensions or showing directional data.

When to Use This Skill

Use this skill when the user needs to:

  • Create polar charts (also known as radar, spider, web, star, or cobweb charts)
  • Visualize multi-dimensional data with multiple categories around a center point
  • Compare multiple data series on the same radial scale
  • Display directional data (compass data, wind direction, plant distribution)
  • Show cyclical patterns or seasonal variations
  • Implement line or area series in polar coordinates
  • Customize grid line types (circular or polygon/radar style)
  • Configure axis types (Category, Numerical, DateTime, Logarithmic)
  • Add legends, data labels, and titles to polar charts
  • Apply custom styling and themes to polar visualizations

Component Overview

Control: SfPolarChart Namespace: Syncfusion.UI.Xaml.Charts Package: Syncfusion.Chart.WinUI Platform: WinUI 3 (Windows App SDK)

Key Features

  • Two series types: PolarLineSeries and PolarAreaSeries
  • Multiple series support: Compare different datasets on the same chart
  • Grid line types: Circle (default) or Polygon (radar/spider style)
  • Four axis types: Category, Numerical, DateTime, Logarithmic
  • Rich customization: Legends, data labels, titles, appearance
  • Interactive features: Toggle series visibility, checkbox legends
  • Start angle control: Rotate chart to different starting positions (0°, 90°, 180°, 270°)
  • Closed/Open paths: Control whether series form closed loops
  • MVVM-friendly: Full data binding support

Typical Use Cases

  • Business analytics: Market analysis, competitive comparisons
  • Scientific visualization: Experiment results, multi-parameter analysis
  • Weather data: Wind patterns, precipitation by direction
  • Quality metrics: Performance across multiple dimensions
  • Sports analytics: Player statistics across different skills
  • Survey results: Opinion data across categories

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and NuGet package setup (Syncfusion.Chart.WinUI)
  • Basic polar chart implementation in XAML and C#
  • Creating data models and view models
  • Binding data to series (ItemsSource, XBindingPath, YBindingPath)
  • Setting up primary and secondary axes
  • Complete working example from scratch

Series Types

📄 Read: references/series-types.md

  • PolarLineSeries: Line-based polar series
  • PolarAreaSeries: Filled area polar series
  • Grid line types: Circle vs Polygon (radar/spider chart)
  • Closing paths: IsClosed property for open/closed series
  • Multiple series: Displaying multiple datasets together
  • Series customization and styling

Axis Configuration

📄 Read: references/axis-configuration.md

  • CategoryAxis: Index-based axis for categorical data
  • NumericalAxis: Numeric values with range customization
  • DateTimeAxis: Time-based data plotting
  • LogarithmicAxis: Logarithmic scale for large value ranges
  • Axis range customization (Minimum, Maximum, Interval)
  • Axis events (ActualRangeChanged, LabelCreated)

Axis Customization

📄 Read: references/axis-customization.md

  • Axis labels: Rotation, formatting, custom templates
  • Axis titles/headers: Adding and styling axis headers
  • Label style customization (fonts, colors, margins)
  • Header templates for advanced customization
  • Label format strings for different data types

Title and Legend

📄 Read: references/title-legend.md

  • Chart title: Header property and customization
  • Title alignment (left, center, right)
  • Legend configuration: Icons, spacing, placement
  • Checkbox legends for toggling series
  • Toggle series visibility interactively
  • Legend templates and background styling

Data Labels

📄 Read: references/data-labels.md

  • Enabling data labels (ShowDataLabels property)
  • Label context (YValue, XValue, Percentage)
  • Customization (fonts, colors, borders, margins)
  • Data label templates for advanced layouts
  • Format strings and rotation
  • UseSeriesPalette for color coordination
  • Connector lines between labels and data points

Appearance and Styling

📄 Read: references/appearance.md

  • Default palette brushes
  • Custom palette brushes: Define your own color schemes
  • Gradient support: LinearGradientBrush and RadialGradientBrush
  • Applying gradients to entire charts or individual series
  • Series Fill property customization
  • Theme integration

Start Angle and Positioning

📄 Read: references/start-angle.md

  • StartAngle property (Rotate0, Rotate90, Rotate180, Rotate270)
  • Changing rendering position of the chart
  • Use cases for different starting angles
  • Aligning charts with specific orientations

Troubleshooting

📄 Read: references/troubleshooting.md

  • Common setup and installation issues
  • Data binding problems and solutions
  • Rendering and display issues
  • Performance optimization tips
  • Best practices and FAQ

Quick Start Example

Here's a minimal working example to create a polar area chart:

1. Data Model

public class PlantData
{
    public string Direction { get; set; }
    public double Tree { get; set; }
}

2. View Model

using System.Collections.ObjectModel;

public class ChartViewModel
{
    public ObservableCollection<PlantData> PlantDetails { get; set; }

    public ChartViewModel()
    {
        PlantDetails = new ObservableCollection<PlantData>()
        {
            new PlantData { Direction = "North", Tree = 80 },
            new PlantData { Direction = "NorthEast", Tree = 87 },
            new PlantData { Direction = "East", Tree = 78 },
            new PlantData { Direction = "SouthEast", Tree = 85 },
            new PlantData { Direction = "South", Tree = 81 },
            new PlantData { Direction = "SouthWest", Tree = 88 },
            new PlantData { Direction = "West", Tree = 80 },
            new PlantData { Direction = "NorthWest", Tree = 85 }
        };
    }
}

3. XAML Implementation

<Window
    x:Class="PolarChartDemo.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:chart="using:Syncfusion.UI.Xaml.Charts"
    xmlns:local="using:PolarChartDemo">

    <chart:SfPolarChart Header="Plant Distribution">

        <!-- Set DataContext to ViewModel -->
        <chart:SfPolarChart.DataContext>
            <local:ChartViewModel/>
        </chart:SfPolarChart.DataContext>

        <!-- Primary Axis (Angular) -->
        <chart:SfPolarChart.PrimaryAxis>
            <chart:CategoryAxis/>
        </chart:SfPolarChart.PrimaryAxis>

        <!-- Secondary Axis (Radial) -->
        <chart:SfPolarChart.SecondaryAxis>
            <chart:NumericalAxis/>
        </chart:SfPolarChart.SecondaryAxis>

        <!-- Legend -->
        <chart:SfPolarChart.Legend>
            <chart:ChartLegend/>
        </chart:SfPolarChart.Legend>

        <!-- Series -->
        <chart:SfPolarChart.Series>
            <chart:PolarAreaSeries ItemsSource="{Binding PlantDetails}"
                                   XBindingPath="Direction"
                                   YBindingPath="Tree"
                                   Label="Tree"
                                   ShowDataLabels="True"/>
        </chart:SfPolarChart.Series>

    </chart:SfPolarChart>

</Window>

4. C# Code-Behind (Alternative)

using Syncfusion.UI.Xaml.Charts;

public sealed partial class MainWindow : Window
{
    public MainWindow()
    {
        this.InitializeComponent();

        // Create chart
        SfPolarChart chart = new SfPolarChart();
        chart.Header = "Plant Distribution";

        // Set ViewModel
        ChartViewModel viewModel = new ChartViewModel();
        chart.DataContext = viewModel;

        // Configure axes
        chart.PrimaryAxis = new CategoryAxis();
        chart.SecondaryAxis = new NumericalAxis();

        // Add legend
        chart.Legend = new ChartLegend();

        // Create series
        PolarAreaSeries series = new PolarAreaSeries();
        series.XBindingPath = "Direction";
        series.YBindingPath = "Tree";
        series.Label = "Tree";
        series.ShowDataLabels = true;
        series.SetBinding(
            ChartSeriesBase.ItemsSourceProperty,
            new Binding() { Path = new PropertyPath("PlantDetails") });

        chart.Series.Add(series);

        // Add chart to window
        this.Content = chart;
    }
}

Common Patterns

Pattern 1: Radar/Spider Chart (Polygon Grid)

Create a classic radar chart with polygon grid lines:

<chart:SfPolarChart GridLineType="Polygon">
    <chart:SfPolarChart.PrimaryAxis>
        <chart:CategoryAxis/>
    </chart:SfPolarChart.PrimaryAxis>
    <chart:SfPolarChart.SecondaryAxis>
        <chart:NumericalAxis/>
    </chart:SfPolarChart.SecondaryAxis>

    <chart:PolarLineSeries ItemsSource="{Binding Data}"
                           XBindingPath="Category"
                           YBindingPath="Value"
                           IsClosed="True"/>
</chart:SfPolarChart>

Pattern 2: Multiple Series Comparison

Compare multiple datasets on the same chart:

<chart:SfPolarChart Header="Multi-Series Comparison">
    <chart:SfPolarChart.Legend>
        <chart:ChartLegend/>
    </chart:SfPolarChart.Legend>

    <chart:SfPolarChart.Series>
        <chart:PolarLineSeries ItemsSource="{Binding SeriesA}"
                               XBindingPath="Category"
                               YBindingPath="Value"
                               Label="Product A"/>

        <chart:PolarLineSeries ItemsSource="{Binding SeriesB}"
                               XBindingPath="Category"
                               YBindingPath="Value"
                               Label="Product B"/>

        <chart:PolarLineSeries ItemsSource="{Binding SeriesC}"
                               XBindingPath="Category"
                               YBindingPath="Value"
                               Label="Product C"/>
    </chart:SfPolarChart.Series>
</chart:SfPolarChart>

Pattern 3: Styled Data Labels

Add formatted data labels with custom appearance:

<chart:PolarAreaSeries ShowDataLabels="True">
    <chart:PolarAreaSeries.DataLabelSettings>
        <chart:PolarDataLabelSettings Context="YValue"
                                      Foreground="White"
                                      Background="#1E88E5"
                                      BorderBrush="White"
                                      BorderThickness="1"
                                      FontSize="12"
                                      FontFamily="Calibri"
                                      Format="#.0"/>
    </chart:PolarAreaSeries.DataLabelSettings>
</chart:PolarAreaSeries>

Pattern 4: Custom Color Palette

Apply custom colors to the chart:

<chart:SfPolarChart>
    <chart:SfPolarChart.Resources>
        <BrushCollection x:Key="customBrushes">
            <SolidColorBrush Color="#4dd0e1"/>
            <SolidColorBrush Color="#26c6da"/>
            <SolidColorBrush Color="#00bcd4"/>
        </BrushCollection>
    </chart:SfPolarChart.Resources>

    <chart:SfPolarChart PaletteBrushes="{StaticResource customBrushes}">
        <!-- Chart content -->
    </chart:SfPolarChart>
</chart:SfPolarChart>

Key Properties

SfPolarChart Properties

PropertyTypeDescription
HeaderobjectChart title/header
PrimaryAxisChartAxisAngular axis (around the circle)
SecondaryAxisChartAxisRadial axis (from center outward)
SeriesChartSeriesCollectionCollection of series to display
LegendChartLegendLegend configuration
GridLineTypePolarChartGridLineTypeCircle or Polygon
StartAngleChartPolarAngleStarting angle (0°, 90°, 180°, 270°)
PaletteBrushesIListCustom color palette

PolarSeries Properties

PropertyTypeDescription
ItemsSourceIEnumerableData source for the series
XBindingPathstringProperty path for X values (categories)
YBindingPathstringProperty path for Y values (numeric)
LabelstringSeries label for legend
ShowDataLabelsboolShow/hide data labels
IsClosedboolClose the path (connect last to first)
FillBrushFill color for the series
StrokeBrushStroke color for line series
DataLabelSettingsPolarDataLabelSettingsData label configuration

Axis Properties

PropertyTypeDescription
HeaderobjectAxis title
MinimumdoubleMinimum axis value
MaximumdoubleMaximum axis value
IntervaldoubleInterval between labels
LabelRotationdoubleRotation angle for labels
LabelStyleLabelStyleLabel formatting and appearance

Common Use Cases

Use Case 1: Market Analysis Dashboard

Scenario: Compare product performance across multiple metrics Implementation: Multi-series polar chart with polygon grid Read: references/series-types.md for multiple series

Use Case 2: Weather Data Visualization

Scenario: Display wind speed/direction or precipitation patterns Implementation: Polar area chart with directional categories Read: references/getting-started.md for data binding

Use Case 3: Skills Assessment

Scenario: Visualize employee or player skills across dimensions Implementation: Radar chart with data labels showing scores Read: references/data-labels.md for label customization

Use Case 4: Quality Metrics

Scenario: Show product quality across multiple test parameters Implementation: Polar line chart with custom color coding Read: references/appearance.md for styling

Use Case 5: Scientific Data

Scenario: Plot experimental results with logarithmic scale Implementation: Polar chart with logarithmic axis Read: references/axis-configuration.md for axis types

Best Practices

  1. Choose the right series type:

- Use PolarLineSeries for trends and comparisons - Use PolarAreaSeries to emphasize magnitude and coverage

  1. Grid line type selection:

- Use Circle for continuous data and smoother appearance - Use Polygon for categorical data and classic radar chart look

  1. Axis configuration:

- Use CategoryAxis for named categories (directions, labels) - Use NumericalAxis for numeric ranges on radial axis - Set appropriate Minimum, Maximum, and Interval for readability

  1. Data labels:

- Enable for small to medium datasets (< 20 points) - Use rotation and connector lines for better positioning - Format values appropriately for the data type

  1. Multiple series:

- Limit to 3-5 series for clarity - Use distinct colors and legend - Consider line series for overlapping data

  1. Performance:

- Use ObservableCollection for dynamic data - Avoid excessive data points in a single series - Implement data virtualization for very large datasets

  1. Accessibility:

- Provide meaningful chart titles and axis labels - Use high-contrast colors - Include legend for series identification

Related Components

  • Circular Charts: For pie, doughnut, and radial bar charts
  • Cartesian Charts: For traditional X-Y coordinate charts (line, bar, column)
  • Gauges: For single-value radial indicators

Resources


Next Steps: Navigate to a specific reference document above to implement polar chart features in your WinUI application.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.09%
按下载量换算66

Claude

31.49%
按下载量换算62

Cursor

20.69%
按下载量换算41

Gemini CLI

8.94%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills