/syncfusion-angular:syncfusion-angular-accumulation-chartfrom Syncfusion Angular UI Components
Implement and customize Syncfusion Angular Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) with data binding, labels, legends, and tooltips. Use this when creating accumulation charts, configuring chart types, customizing data visualization, adding annotations, or handling interactive chart events in Angular applications.
Ships in Syncfusion Angular UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
The Accumulation Chart supports multiple series types within a single component:
📄 Read: references/getting-started.md
📄 Read: references/series-and-types.md
📄 Read: references/data-labels-and-legends.md
📄 Read: references/annotations-and-titles.md
📄 Read: references/appearance-and-styling.md
📄 Read: references/interactive-features.md
📄 Read: references/accessibility-and-responsive.md
📄 Read: references/advanced-scenarios.md
import { Component } from '@angular/core';
import { AccumulationChartModule, PieSeriesService, AccumulationTooltipService } from '@syncfusion/ej2-angular-charts';
@Component({
selector: 'app-root',
standalone: true,
imports: [AccumulationChartModule],
providers: [PieSeriesService, AccumulationTooltipService],
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 }
];
}
<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>
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
}
onPointSelected(args: IPointEventArgs) {
console.log('Selected point:', args.pointIndex);
console.log('Selected value:', args.series.dataSource[args.pointIndex].y);
}
Two strict-template-safe approaches — pick the one that fits your data model:
Option A — [palettes] on the series (color array, applied cyclically):
@Component({
template: `
<ejs-accumulationchart>
<e-accumulation-series-collection>
<e-accumulation-series
[dataSource]="data"
xName="x"
yName="y"
[palettes]="palette">
</e-accumulation-series>
</e-accumulation-series-collection>
</ejs-accumulationchart>
`
})
export class ChartComponent {
data = [
{ x: 'A', y: 30 },
{ x: 'B', y: 25 },
{ x: 'C', y: 20 },
{ x: 'D', y: 15 }
];
palette = ['#E94649', '#F6B53F', '#6FAAB0', '#FF33F3'];
}
Option B — pointColorMapping on the series (color embedded in each data point):
@Component({
template: `
<ejs-accumulationchart>
<e-accumulation-series-collection>
<e-accumulation-series
[dataSource]="data"
xName="x"
yName="y"
pointColorMapping="fill">
</e-accumulation-series>
</e-accumulation-series-collection>
</ejs-accumulationchart>
`
})
export class ChartComponent {
data = [
{ x: 'A', y: 30, fill: '#FF6B6B' },
{ x: 'B', y: 25, fill: '#4ECDC4' },
{ x: 'C', y: 20, fill: '#45B7D1' },
{ x: 'D', y: 15, fill: '#FFA07A' }
];
}
⚠️ Do NOT use
[palette](singular) on<ejs-accumulationchart>— it is not a typed@Input()and causes NG8002 in Angular strict mode. Both options above go on<e-accumulation-series>and are fully strict-mode safe.
### Pattern 4: Legend with Position
```typescript
<ejs-accumulationchart>
<e-accumulation-legend
[visible]="true"
position="Right"
[enableHighlight]="true">
</e-accumulation-legend>
</ejs-accumulationchart>
| Property | Type | Purpose |
|---|---|---|
type | string | Chart type: 'Pie', 'Doughnut', 'Pyramid', 'Funnel' |
dataSource | object[] | Array of data points with x and y values |
xName | string | Field name for category data |
yName | string | Field name for value data |
dataLabel | object | Label configuration (position, formatting) |
tooltip | object | Tooltip settings (enable, template, formatting) |
palettes | string[] | Series property — array of hex/named colors applied cyclically to points. Use [palettes]="palette" on <e-accumulation-series>. ✅ Strict-mode safe. |
pointColorMapping | string | Series property — field name in each data object holding the point color (e.g. "fill"). Use pointColorMapping="fill" on <e-accumulation-series>. ✅ Strict-mode safe. |
animation | object | Animation configuration (enable, duration) |
startAngle | number | Starting angle for pie/doughnut (0-360) |
explode | boolean | Enable point separation effect |
Cause: [palette] is not a typed @Input() in the Syncfusion Angular wrapper for
AccumulationChartComponent. Angular's strict template checker ("strictTemplates": true)
raises NG8002 and the build fails.
Wrong — causes NG8002:
<!-- ❌ DO NOT DO THIS — [palette] on chart element is not a typed @Input() -->
<ejs-accumulationchart [palette]="chartPalette">
<e-accumulation-series [dataSource]="data" xName="x" yName="y">
</e-accumulation-series>
</ejs-accumulationchart>
Correct — Option A: [palettes] on the series (color array):
<!-- ✅ [palettes] is a typed @Input() on AccumulationSeriesDirective -->
<ejs-accumulationchart>
<e-accumulation-series-collection>
<e-accumulation-series
[dataSource]="data"
xName="x"
yName="y"
[palettes]="palette">
</e-accumulation-series>
</e-accumulation-series-collection>
</ejs-accumulationchart>
palette = ['#E94649', '#F6B53F', '#6FAAB0', '#FF33F3', '#228B22', '#3399FF'];
// data points need no fill field — palette colors apply cyclically
Correct — Option B: pointColorMapping on the series (color per data point):
<!-- ✅ Also strict-mode safe — color stored in each data object -->
<ejs-accumulationchart>
<e-accumulation-series-collection>
<e-accumulation-series
[dataSource]="data"
xName="x"
yName="y"
pointColorMapping="fill">
</e-accumulation-series>
</e-accumulation-series-collection>
</ejs-accumulationchart>
data = [
{ x: 'Electronics', y: 108310, fill: '#0ea5e9' },
{ x: 'Clothing', y: 68280, fill: '#6366f1' },
{ x: 'Grocery', y: 51210, fill: '#10b981' },
{ x: 'Furniture', y: 34140, fill: '#f59e0b' },
{ x: 'Others', y: 22760, fill: '#94a3b8' }
];
Key rule: Both [palettes] and pointColorMapping belong on <e-accumulation-series>, not on the chart element.
If you see similar NG8002 errors for any <ejs-accumulationchart> binding, check that:
AccumulationChartModule is listed in the component's imports: [...]@Input() exactly (camelCase)PieSeriesService, etc.) are listed in providers: [...]Complete API Guide: references/api-reference.md
All API documentation is available at https://ej2.syncfusion.com/angular/documentation/api/accumulation-chart/
Core Components:
Key Enumerations:
Event Interfaces:
Each reference guide includes an "API Reference Summary" section at the end with relevant API links.
references/accessibility-and-responsive.md (opens in a new tab)references/advanced-scenarios.md (opens in a new tab)references/annotations-and-titles.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/appearance-and-styling.md (opens in a new tab)references/data-labels-and-legends.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/interactive-features.md (opens in a new tab)references/series-and-types.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-angularOther plugins' skills for the same job
65 skills in this plugin
/syncfusion-angular-3d-chartImplement interactive 3D charts in Angular applications using Syncfusion. Guide covers setup, chart types (bar, column, stacked variants), customization, data binding, axis configuration, legends, tooltips, selection, data labels, appearance styling, dimensions, print/export, and accessibility. Use this skill whenever a user needs to create, configure, or customize 3D chart visualizations./syncfusion-angular-accordionGuide for implementing Angular Accordion components for collapsible content panels, expandable sections, FAQs, multi-step wizards, step-by-step forms, navigation menus, or tabbed navigation. Use this skill when users mention expanding/collapsing content, accordion layouts, step-by-step workflows, or hierarchical content organization. This skill covers initialization, expand modes, data binding, dynamic loading, animations, nested accordions, and real-world patterns./syncfusion-angular-ai-assistviewImplement the Syncfusion Angular AI AssistView component. Use this skill when you need to create conversational AI interfaces, integrate AI services, add chat-like UI, or create intelligent assistant applications. Includes setup, configuration, event handling, AI integrations (OpenAI, Gemini, Ollama), speech features, chain-of-thought reasoning, generative UI tool support, and customization. Use this skill for all AI AssistView component implementation needs.