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

syncfusion-angular-accumulation-chartsyncfusion Angular accumulation chart 命令行

Agent Skill

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

总安装

1,151

周安装

47

GitHub Stars

公开资料未说明

下载量

368
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

生成累积图表组件代码,支持时间序列数据可视化展示。syncfusion-angular-accumulation-chart 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

  • 适用于 Angular 项目中需要趋势分析或进度跟踪的界面模块。
  • 通过 GitHub 仓库安装,使用 npx 命令添加技能并指定路径。
  • 需确认图表库版本与 Angular 兼容性,避免运行时错误。
  • 自定义样式时应遵循设计系统规范,保持整体视觉统一。

SKILL.md

Implementing Syncfusion Angular Accumulation Chart

The Accumulation Chart component is a powerful visualization tool for displaying data distribution across categories using pie charts, doughnut charts, pyramids, and funnels. This skill guides you through creating, configuring, and customizing accumulation charts in Angular applications.

When to Use This Skill

  • Creating pie/doughnut charts - Display proportional data distribution
  • Building pyramid/funnel charts - Show hierarchical or step-wise data
  • Adding interactive elements - Implement tooltips, selection, and click events
  • Customizing appearance - Apply themes, colors, gradients, and animations
  • Handling data labels - Configure label positioning, formatting, and templates
  • Managing legends - Add and customize chart legends
  • Adding annotations - Insert titles, center labels, and custom annotations
  • Ensuring accessibility - Implement WCAG compliance and keyboard navigation
  • Dynamic updates - Handle real-time data changes and grouping
  • Export/Print - Export charts to PDF or print functionality

Component Overview

The Accumulation Chart supports multiple series types within a single component:

  • Pie Chart - Circular slices representing data proportions
  • Donut (Pie with innerRadius) Chart - Pie chart variant with hollow center (supports center label)
  • Pyramid Chart - Data stacked in pyramid shape
  • Funnel Chart - Data visualization in funnel shape

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation via ng add command
  • Basic chart creation with data binding
  • Array and JSON data formats
  • CSS imports and theme setup
  • Initial component configuration

Series Types and Configuration

📄 Read: references/series-and-types.md

  • Pie vs Doughnut vs Pyramid vs Funnel
  • Series properties and options
  • Multiple series rendering
  • Type-specific features and use cases

Data Labels and Legends

📄 Read: references/data-labels-and-legends.md

  • Data label positioning (inside, outside, auto)
  • Label formatting and custom templates
  • Label visibility and intersection handling
  • Legend placement and customization
  • Legend click events and interactions

Annotations and Titles

📄 Read: references/annotations-and-titles.md

  • Chart titles and subtitles
  • Center labels for doughnut charts
  • Text and image annotations
  • Annotation positioning and alignment

Appearance and Styling

📄 Read: references/appearance-and-styling.md

  • Color palettes and theme selection
  • Animation configuration and timing
  • Gradient and solid fills
  • Custom CSS styling
  • Print and export functionality

Interactive Features

📄 Read: references/interactive-features.md

  • Tooltip configuration and customization
  • Selection modes (single, multiple, none)
  • Point and series selection events
  • Click and hover event handlers
  • Selection styling

Accessibility and Responsive Design

📄 Read: references/accessibility-and-responsive.md

  • WCAG compliance requirements
  • Keyboard navigation patterns
  • ARIA attributes and labels
  • Screen reader support
  • Responsive chart sizing
  • Mobile and touch support

Advanced Scenarios

📄 Read: references/advanced-scenarios.md

  • Dynamic data updates and refresh
  • Data grouping and filtering
  • Empty point handling
  • Common patterns and workflows
  • EJ1 to EJ2 migration guide

Quick Start Example

Basic Pie Chart

import { Component } from '@angular/core';
import { AccumulationChartModule } from '@syncfusion/ej2-angular-charts';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [AccumulationChartModule],
  template: `
    <ejs-accumulationchart id="container" [tooltip]="{ enable: true }">
      <e-accumulation-series-collection>
        <e-accumulation-series
          [dataSource]="data"
          xName="x"
          yName="y"
          type="Pie">
        </e-accumulation-series>
      </e-accumulation-series-collection>
    </ejs-accumulationchart>
  `,
  styles: [`#container { height: 420px; width: 100%; }`]
})
export class AppComponent {
  data = [
    { x: 'Chrome', y: 37 },
    { x: 'Firefox', y: 28 },
    { x: 'Safari', y: 18 },
    { x: 'Others', y: 17 }
  ];
}

Basic Donut (Pie with innerRadius) Chart with Center Label

<ejs-accumulationchart id="container">
  <e-accumulation-series-collection>
    <e-accumulation-series
      [dataSource]="data"
      xName="x"
      yName="y"
      type="Pie" innerRadius="40%"
      [dataLabel]="{ visible: true, position: 'Inside', name: 'text' }">
    </e-accumulation-series>
  </e-accumulation-series-collection>
</ejs-accumulationchart>

<!-- Center label in template -->
<div style="font-size: 18px; text-align: center;">
  Total Sales: $45,000
</div>

Common Patterns

Pattern 1: Dynamic Data Update

updateData() {
  this.data = [
    { x: 'Q1', y: 25000 },
    { x: 'Q2', y: 35000 },
    { x: 'Q3', y: 42000 },
    { x: 'Q4', y: 50000 }
  ];
  // Chart automatically refreshes with new data
}

Pattern 2: Handling Selection Events

onPointSelected(args: any) {
  console.log('Selected point:', args.pointIndex);
  console.log('Selected value:', args.series.dataSource[args.pointIndex].y);
}

Pattern 3: Custom Color Palette

@Component({
  template: `
    <ejs-accumulationchart
      [palette]="customPalette">
      ...
    </ejs-accumulationchart>
  `
})
export class ChartComponent {
  customPalette = ['#FF6B6B', '#4ECDC4', '#45B7D1', '#FFA07A'];
}

Pattern 4: Legend with Position

<ejs-accumulationchart>
  <e-accumulation-legend
    [visible]="true"
    position="Right"
    [enableHighlight]="true">
  </e-accumulation-legend>
</ejs-accumulationchart>

Key Configuration Props

PropertyTypePurpose
typestringChart type: 'Pie', 'Doughnut', 'Pyramid', 'Funnel'
dataSourceobject[]Array of data points with x and y values
xNamestringField name for category data
yNamestringField name for value data
dataLabelobjectLabel configuration (position, formatting)
tooltipobjectTooltip settings (enable, template, formatting)
palettestring[]Custom color array for series points
animationobjectAnimation configuration (enable, duration)
startAnglenumberStarting angle for pie/doughnut (0-360)
explodebooleanEnable point separation effect

Next Steps

  1. Start with: references/getting-started.md to set up your first chart
  2. Choose chart type: references/series-and-types.md for detailed type information
  3. Customize: Use other references based on your specific needs (labels, legends, interactivity, styling)
  4. Enhance: Refer to references/accessibility-and-responsive.md for production-ready implementations

API Reference Documentation

Comprehensive API Catalog

Complete API Guide: references/api-reference.md

All API documentation is available at https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/

Quick API Links

Core Components:

Key Enumerations:

Event Interfaces:

Each reference guide includes an "API Reference Summary" section at the end with relevant API links.

Related Skills

  • Implementing line/bar charts (for other chart types)
  • Working with Angular data binding
  • Angular component styling and theming

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.2%
按下载量换算137

Claude

29.52%
按下载量换算109

Cursor

17.66%
按下载量换算65

Gemini CLI

8.64%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills