Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-blazor-accumulation-chart同步融合 Blazor 累积图

Agent Skill

syncfusion-blazor-accumulation-chart 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,088

周安装

44

GitHub Stars

公开资料未说明

下载量

341
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-accumulation-chart

简介

累积图表组件,可视化数据累计趋势和占比关系。syncfusion-blazor-accumulation-chart 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适用于财务汇总、进度跟踪或层级数据叠加分析场景。
  • 在 Blazor 项目中引用并绑定数据集即可渲染交互式图表。
  • 需确保已安装 Syncfusion 图表核心包及相关依赖项。
  • 输出结果受浏览器 Canvas 支持度影响,低版本 IE 可能不兼容。

SKILL.md

Implementing Syncfusion Blazor Accumulation Charts

A comprehensive guide for implementing the Syncfusion Blazor Accumulation Chart component to create interactive pie, doughnut, funnel, and pyramid charts that visualize proportional and hierarchical data in Blazor applications.

When to Use This Skill

Use this skill when you need to:

  • Create pie charts to show proportional data distribution
  • Build doughnut charts with center labels or multiple series
  • Implement funnel charts for stage-based data (sales pipeline, conversion rates)
  • Create pyramid charts for hierarchical data visualization
  • Display percentage distributions and part-to-whole relationships
  • Visualize market share, survey results, or categorical proportions
  • Show composition data with interactive slicing and legends
  • Add data labels with smart positioning and connector lines
  • Implement center labels for doughnut charts with dynamic content
  • Customize appearance with gradients, themes, and annotations
  • Group small slices to improve readability
  • Handle user interactions with tooltips, selection, and events
  • Create accessible charts with ARIA support and keyboard navigation

Component Overview

The Syncfusion Blazor Accumulation Chart component specializes in circular and triangular visualizations for proportional data:

  • 4 Chart Types: Pie, Doughnut, Funnel, Pyramid
  • Data Labels: Smart positioning, connector lines, templates, text wrapping
  • Legends: Customizable positioning, paging, click behavior
  • Tooltips: Formatted display, custom templates
  • Center Labels: Doughnut-specific feature with dynamic content
  • Grouping: Combine small slices into "Others" category
  • Customization: Gradients, annotations, themes, colors, borders
  • Interactivity: Selection, explosion, hover effects, animations
  • Accessibility: WCAG compliance, ARIA support, keyboard navigation
  • Export: Print support, image export

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Use this when:

  • Setting up a new Blazor Accumulation Chart project
  • Installing NuGet packages and dependencies
  • Creating your first pie or doughnut chart
  • Understanding basic component structure
  • Working with Visual Studio, VS Code, or.NET CLI
  • Binding data to accumulation charts

Topics covered:

  • Installation prerequisites and system requirements
  • NuGet package installation (Syncfusion.Blazor.Charts)
  • Service registration and namespace imports
  • Theme and script references
  • Basic SfAccumulationChart implementation
  • Data source configuration (XName, YName properties)
  • Adding title, data labels, tooltip, and legend
  • Running the application

Chart Types

📄 Read: references/chart-types.md

Use this when:

  • Choosing the right chart type for your data
  • Implementing pie charts (default type)
  • Creating doughnut charts with inner radius
  • Building funnel charts for conversion visualization
  • Designing pyramid charts for hierarchical data
  • Understanding type-specific properties

Topics covered:

  • Pie Chart: Default circular visualization, when to use
  • Doughnut Chart: Inner radius configuration, center content area
  • Funnel Chart: Neck dimensions, width/height ratios, data flow
  • Pyramid Chart: Linear vs surface mode, base positioning
  • Type property configuration
  • Visual differences and use cases
  • Code examples for each type

Data Labels

📄 Read: references/data-label.md

Use this when:

  • Enabling and customizing data labels
  • Positioning labels inside or outside slices
  • Implementing smart labels for collision avoidance
  • Adding connector lines from labels to slices
  • Customizing label text, format, and templates
  • Handling text wrapping and overflow
  • Using custom data fields for label text

Topics covered:

  • Visible property to enable labels
  • Position options (Inside, Outside)
  • Text wrapping with MaxWidth
  • Smart label positioning
  • Connector line customization (type, length, color, width)
  • Text mapping from data source fields
  • Format patterns (N1, P1, C1 for numbers/percentages/currency)
  • Template customization with HTML and context values
  • Font styling, borders, and backgrounds

Legends

📄 Read: references/legend.md

Use this when:

  • Adding legends to accumulation charts
  • Positioning legends (top, bottom, left, right)
  • Customizing legend appearance and behavior
  • Implementing legend paging for many data points
  • Creating custom legend templates
  • Handling legend click events

Topics covered:

  • Enabling legends with Visible property
  • Position and alignment options
  • Legend shape customization
  • Text styling and truncation
  • Toggle visibility behavior on legend click
  • Legend paging configuration
  • Custom templates for legend items
  • Click and hover events

Tooltips

📄 Read: references/tooltip.md

Use this when:

  • Enabling tooltips on hover
  • Formatting tooltip content
  • Creating custom tooltip templates
  • Styling tooltip appearance
  • Configuring tooltip behavior and animation

Topics covered:

  • Enable property for tooltip activation
  • Format string for value display
  • Header customization
  • Custom templates with HTML
  • Border, fill, and font styling
  • Animation settings
  • Shared tooltips (if applicable)

Center Labels

📄 Read: references/center-label.md

Use this when:

  • Adding text in the center of doughnut charts
  • Displaying static or dynamic center content
  • Customizing center label appearance
  • Showing aggregated data in center
  • Implementing hover-based center text updates

Topics covered:

  • Center label Text property
  • TextStyle customization (font, size, color)
  • Dynamic text with templates
  • Hover-based text updates using events
  • Center label visibility control
  • Use cases and best practices

Customization and Styling

📄 Read: references/customization-styling.md

Use this when:

  • Applying gradient fills to slices
  • Grouping small slices into "Others"
  • Adding annotations (text, shapes, images)
  • Handling empty points in data
  • Customizing themes and color palettes
  • Setting border styles and radius
  • Implementing responsive layouts
  • Using adaptive design for mobile

Topics covered:

  • Gradients: Radial and linear fills for slices
  • Grouping: GroupTo and GroupMode for combining small values
  • Annotations: Text, shape, and image annotations with positioning
  • Empty Points: Mode options (Zero, Drop, Average, Gap)
  • Themes: Built-in themes and custom theme application
  • Colors: Custom color palettes and per-point colors
  • Borders: Width, color, and dash array
  • Radius: Inner radius (doughnut) and overall chart radius
  • Responsive: Adaptive layout for different screen sizes

Animation and Events

📄 Read: references/animation-events.md

Use this when:

  • Configuring chart load animations
  • Handling point selection and click events
  • Responding to mouse hover and leave events
  • Implementing custom interactions
  • Accessing chart lifecycle events
  • Working with series and point rendering events

Topics covered:

  • Animation: Enable, duration, delay configuration
  • Chart Events: Load, Loaded, BeforeResize, Resized
  • Point Events: OnPointClick, OnPointMove, PointRender
  • Series Events: SeriesRender, OnLegendClick
  • Data Label Events: OnDataLabelRender, TextRender
  • Selection: OnSelectionComplete, selection mode
  • Tooltip Events: TooltipRender
  • Event data structures and parameters
  • Practical event handling examples

Accessibility and Printing

📄 Read: references/accessibility-printing.md

Use this when:

  • Implementing WCAG-compliant charts
  • Adding ARIA attributes for screen readers
  • Enabling keyboard navigation
  • Supporting right-to-left (RTL) layouts
  • Implementing print functionality
  • Exporting charts as images
  • Localizing chart text

Topics covered:

  • Accessibility: WCAG 2.1 compliance features
  • ARIA: Role, label, and description attributes
  • Keyboard: Tab navigation and selection
  • Screen Readers: Alternative text and descriptions
  • Printing: Print method and configuration
  • Export: Image export (PNG, JPG, SVG)
  • RTL: Right-to-left language support
  • Localization: Culture-specific formatting

API Reference

📄 Read: references/api-reference.md

Use this when:

  • Looking up enum values and their exact names
  • Understanding public method signatures and parameters
  • Finding correct property types and default values
  • Troubleshooting API usage issues
  • Referencing quick code patterns
  • Checking critical usage notes and gotchas

Topics covered:

  • Common Enums: AccumulationType, AccumulationLabelPosition, GroupMode, LegendPosition, ExportType
  • Key Properties: Type, InnerRadius, Radius, GroupTo, GroupMode, Visible, Enable
  • Public Methods: ExportAsync, PrintAsync, Refresh, SetAnnotationValueAsync
  • Critical Usage Notes: Center label restrictions, GroupTo semantics, enum qualification
  • Common Patterns: Basic pie, doughnut with center label, grouping examples
  • Troubleshooting: Label overlap, center label issues, enum compilation errors

Quick Start Example

Here's a minimal pie chart implementation:

@page "/pie-chart"
@using Syncfusion.Blazor.Charts

<SfAccumulationChart Title="Sales Distribution">
    <AccumulationChartSeriesCollection>
        <AccumulationChartSeries DataSource="@SalesData"
                                 XName="Product"
                                 YName="Sales">
            <AccumulationDataLabelSettings Visible="true"
                                           Name="Product">
            </AccumulationDataLabelSettings>
        </AccumulationChartSeries>
    </AccumulationChartSeriesCollection>

    <AccumulationChartLegendSettings Visible="true">
    </AccumulationChartLegendSettings>
</SfAccumulationChart>

@code {
    public class SalesInfo
    {
        public string Product { get; set; }
        public double Sales { get; set; }
    }

    public List<SalesInfo> SalesData = new List<SalesInfo>
    {
        new SalesInfo { Product = "Product A", Sales = 35 },
        new SalesInfo { Product = "Product B", Sales = 28 },
        new SalesInfo { Product = "Product C", Sales = 22 },
        new SalesInfo { Product = "Product D", Sales = 15 }
    };
}

Common Patterns

Doughnut Chart with Center Label

<SfAccumulationChart Title="Revenue by Region">
    <AccumulationChartSeriesCollection>
        <AccumulationChartSeries DataSource="@RevenueData"
                                 XName="Region"
                                 YName="Revenue"
                                 InnerRadius="40%">
            <AccumulationDataLabelSettings Visible="true" Position="Syncfusion.Blazor.Charts.AccumulationLabelPosition.Outside">
                <AccumulationChartConnector Length="20px">
                </AccumulationChartConnector>
            </AccumulationDataLabelSettings>
            <AccumulationChartCenterLabel
                Text="Total<br/>$1.2M">
                <AccumulationChartCenterLabelFont
                    Size="16px"
                    FontWeight="600">
                </AccumulationChartCenterLabelFont>
            </AccumulationChartCenterLabel>
        </AccumulationChartSeries>
    </AccumulationChartSeriesCollection>
</SfAccumulationChart>

Funnel Chart for Conversion

<SfAccumulationChart Title="Sales Funnel">
    <AccumulationChartSeriesCollection>
        <AccumulationChartSeries DataSource="@ConversionData"
                                 XName="Stage"
                                 YName="Count"
                                 Type="Syncfusion.Blazor.Charts.AccumulationType.Funnel"
                                 NeckWidth="25%"
                                 NeckHeight="10%">
            <AccumulationDataLabelSettings Visible="true" Name="Stage">
            </AccumulationDataLabelSettings>
        </AccumulationChartSeries>
    </AccumulationChartSeriesCollection>
</SfAccumulationChart>

Grouped Pie Chart with Gradients

<SfAccumulationChart Title="Market Share Analysis">
    <AccumulationChartSeriesCollection>
        <AccumulationChartSeries DataSource="@MarketData"
                                 XName="Company"
                                 YName="Share"
                                 GroupTo="5"
                                 GroupMode="Syncfusion.Blazor.Charts.GroupMode.Value">
            <AccumulationDataLabelSettings Visible="true" Position="Syncfusion.Blazor.Charts.AccumulationLabelPosition.Outside">
            </AccumulationDataLabelSettings>
        </AccumulationChartSeries>
    </AccumulationChartSeriesCollection>
    <AccumulationChartLegendSettings Visible="true" Position="Syncfusion.Blazor.Charts.LegendPosition.Right">
    </AccumulationChartLegendSettings>
</SfAccumulationChart>

@code {
    // Data source with gradient applied
    public List<MarketInfo> MarketData = new List<MarketInfo>
    {
        new MarketInfo { Company = "Company A", Share = 35 },
        new MarketInfo { Company = "Company B", Share = 20 },
        new MarketInfo { Company = "Company C", Share = 15 },
        new MarketInfo { Company = "Others", Share = 30 }
    };
}

Key Properties and Components

SfAccumulationChart

  • Title: Chart title text
  • Height/Width: Chart dimensions
  • Theme: Visual theme (Bootstrap5, Material, Fluent, etc.)
  • EnableAnimation: Enable/disable load animation
  • SelectionMode: Point or Series selection
  • Background: Chart background color

AccumulationChartSeries

  • DataSource: Data collection to visualize
  • XName: Property name for category/label
  • YName: Property name for values
  • Type: Pie (default), Doughnut, Funnel, Pyramid
  • InnerRadius: Doughnut inner radius percentage
  • Radius: Overall chart radius
  • StartAngle/EndAngle: Arc positioning
  • GroupTo: Value/point count threshold for grouping
  • GroupMode: Value or Point grouping mode
  • Explode/ExplodeIndex: Slice separation on load

AccumulationDataLabelSettings

  • Visible: Show/hide data labels
  • Name: Property for label text
  • Position: Inside or Outside placement
  • Format: Value format string
  • MaxWidth: Text wrap width
  • Template: Custom HTML template

AccumulationChartLegendSettings

  • Visible: Show/hide legend
  • Position: Top, Bottom, Left, Right
  • Height/Width: Legend dimensions
  • ToggleVisibility: Enable click to hide/show points

AccumulationChartTooltipSettings

  • Enable: Show/hide tooltips
  • Format: Tooltip text format
  • Header: Custom header text
  • Template: Custom HTML template

Public Methods

The SfAccumulationChart component provides the following public methods. For complete method signatures and additional details, see api-reference.md.

ExportAsync

Exports the chart in the specified format.

await chart.ExportAsync(ExportType.PNG, "chart.png");

Parameters:

  • type (ExportType): PNG, JPEG, SVG, or PDF
  • fileName (string): Name of the exported file
  • orientation (PdfPageOrientation?): PDF orientation (Portrait/Landscape), optional
  • allowDownload (bool): Whether to download the file, default is true

PrintAsync

Prints the chart.

await chart.PrintAsync();

Refresh

Refreshes the chart with optional animation.

chart.Refresh(shouldAnimate: true);

Parameters:

  • shouldAnimate (bool): Whether to animate the refresh, default is true

SetAnnotationValueAsync

Updates annotation content dynamically.

await chart.SetAnnotationValueAsync(0, "Updated Content");

Parameters:

  • annotationIndex (double): Index of the annotation to update
  • content (string): New content for the annotation

Common Use Cases

Market Share Visualization

Use pie or doughnut charts to show competitive market distribution with legends identifying each company.

Sales Pipeline Tracking

Use funnel charts to visualize stage-by-stage conversion in sales processes, showing drop-off at each step.

Organizational Hierarchy

Use pyramid charts to display hierarchical structures like company organization or food chains.

Survey Results Display

Use pie charts with data labels to present survey response distributions with clear percentage values.

Financial Portfolio Composition

Use doughnut charts with center labels to show asset allocation with total value in the center.

Regional Revenue Distribution

Use pie charts with gradients to highlight revenue contribution by geographic regions.

See Also

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.39%
按下载量换算117

Claude

29.92%
按下载量换算102

Cursor

17.5%
按下载量换算60

Gemini CLI

9.45%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills