/syncfusion-aspnet-core:syncfusion-aspnetcore-accumulation-chartfrom Syncfusion ASP.NET Core UI Controls
Implement Syncfusion ASP.NET Core Accumulation Charts for proportional data visualization. Use this when creating pie charts, doughnut charts, pyramid charts, or funnel charts in ASP.NET Core applications. This skill covers chart setup, data binding, legends, tooltips, data labels, grouping, and accessibility features. Suitable for visualizing market share, sales distribution, survey results, and other percentage-based data representations.
Ships in Syncfusion ASP.NET Core UI Controls. 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.
A comprehensive skill for implementing Syncfusion's ASP.NET Core Accumulation Chart component. This component renders circular data visualizations including Pie, Doughnut, Pyramid, and Funnel charts using Scalable Vector Graphics (SVG).
Use this skill when you need to:
AccumulationChart is a circular graphics component that divides data into segments to illustrate numerical proportions. It supports:
innerRadius on a Pie chart, not a separate type📄 Read: references/getting-started.md
When to read: Setting up accumulation charts for the first time, or need complete installation and basic implementation guidance.
What you'll learn:
📄 Read: references/chart-types.md
When to read: Need to implement specific chart types (Pie, Doughnut, Pyramid, Funnel) or customize chart geometry and appearance.
What you'll learn:
📄 Read: references/data-visualization.md
When to read: Enhancing charts with data labels, tooltips, legends, colors, or custom styling.
What you'll learn:
📄 Read: references/data-handling.md
When to read: Working with complex data scenarios like grouping small values, handling missing data, or updating charts dynamically.
What you'll learn:
📄 Read: references/advanced-features.md
When to read: Implementing annotations, export/print functionality, or migrating from EJ1 to EJ2.
What you'll learn:
📄 Read: references/accessibility.md
When to read: Making charts accessible for users with disabilities or ensuring WCAG 2.2 compliance.
What you'll learn:
Here's a minimal example to render a pie chart in ASP.NET Core:
Install-Package Syncfusion.EJ2.AspNet.Core -Version <your_version_here>
@addTagHelper *, Syncfusion.EJ2
<head>
<!-- Syncfusion JS -->
<script src="<!-- Add the appropriate Syncfusion CDN script link here -->"></script>
</head>
<body>
<!-- Content -->
<ejs-scripts></ejs-scripts>
</body>
@{
List<PieChartData> chartData = new List<PieChartData>
{
new PieChartData { xValue = "Chrome", yValue = 37 },
new PieChartData { xValue = "Firefox", yValue = 22 },
new PieChartData { xValue = "Safari", yValue = 19 },
new PieChartData { xValue = "Edge", yValue = 12 },
new PieChartData { xValue = "Others", yValue = 10 }
};
}
<ejs-accumulationchart id="pieChart" enableSmartLabels="true" title="Browser Market Share" subTitle="Pie chart showing browser usage distribution">
<e-accumulation-series-collection>
<e-accumulation-series dataSource="@chartData" xName="xValue" yName="yValue" name="Browsers">
<e-accumulationseries-datalabel visible="true" position="Outside" name="text" format="p0">
<e-connectorstyle type="Curve" length="20"></e-connectorstyle>
<e-font fontWeight="600"></e-font>
</e-accumulationseries-datalabel>
</e-accumulation-series>
</e-accumulation-series-collection>
<e-accumulationchart-legendsettings position="Bottom" alignment="Center" toggleVisibility="true">
</e-accumulationchart-legendsettings>
<e-accumulationchart-tooltipsettings enable="true" format="${point.x}: <b>${point.y}%</b>" header="Browser">
</e-accumulationchart-tooltipsettings>
</ejs-accumulationchart>
Key Points:
title and subTitle are direct attributes on <ejs-accumulationchart>, NOT child tags<e-font> is the correct child tag inside <e-accumulationseries-datalabel>, NOT <e-datalabelfont>format="p0" for percentage without decimalspublic class PieChartData
{
public string xValue { get; set; }
public double yValue { get; set; }
}
Result: A basic pie chart displaying browser usage statistics.
<ejs-accumulationchart id="container">
<e-accumulation-series-collection>
<e-accumulation-series dataSource="chartData" xName="x" yName="y" innerRadius="65%">
<!-- innerRadius goes on series, NOT on chart -->
</e-accumulation-series>
</e-accumulation-series-collection>
<e-accumulationchart-centerlabel text="Mobile<br>Browsers<br>Statistics">
</e-accumulationchart-centerlabel>
<e-accumulationchart-legendsettings visible="false">
</e-accumulationchart-legendsettings>
</ejs-accumulationchart>
Use Case: Dashboard KPIs with center text showing total value.
<ejs-accumulationchart id="smartLabelChart" enableSmartLabels="true" title="Market Share" subTitle="Distribution by browser">
<e-accumulation-series-collection>
<e-accumulation-series dataSource="@chartData" xName="xValue" yName="yValue">
<e-accumulationseries-datalabel visible="true"
position="Outside"
name="text"
format="p0">
<e-connectorstyle type="Curve" length="20"></e-connectorstyle>
<e-font fontWeight="600"></e-font>
</e-accumulationseries-datalabel>
</e-accumulation-series>
</e-accumulation-series-collection>
<e-accumulationchart-legendsettings position="Bottom" alignment="Center" toggleVisibility="true">
</e-accumulationchart-legendsettings>
<e-accumulationchart-tooltipsettings enable="true" format="${point.x}: <b>${point.y}%</b>" header="Browser">
</e-accumulationchart-tooltipsettings>
</ejs-accumulationchart>
Use Case: Preventing label overlap in charts with many small slices.
<ejs-accumulationchart id="groupedChart">
<e-accumulation-series-collection>
<e-accumulation-series dataSource="@chartData"
xName="xValue"
yName="yValue"
groupTo="11">
</e-accumulation-series>
</e-accumulation-series-collection>
</ejs-accumulationchart>
Use Case: Combining values below 11% into a single "Others" group.
<button id="exportBtn">Export as PNG</button>
<ejs-accumulationchart id="funnelChart">
<e-accumulation-series-collection>
<e-accumulation-series dataSource="@chartData"
xName="xValue"
yName="yValue"
type="Funnel"
neckWidth="15%"
neckHeight="18%">
</e-accumulation-series>
</e-accumulation-series-collection>
</ejs-accumulationchart>
<script>
document.getElementById('exportBtn').onclick = function() {
var chart = document.getElementById('funnelChart').ej2_instances[0];
chart.export('PNG', 'funnel-chart');
};
</script>
Use Case: Sales funnel visualization with image export.
Represents the main accumulation chart component. All properties are defined in the Syncfusion.EJ2.Charts namespace.
public AccumulationChart()
| Property | Type | Default | Description | API Reference |
|---|---|---|---|---|
Accessibility | AccumulationAccessibility | null | Options to improve accessibility for accumulation chart elements | AccumulationAccessibility |
Annotations | List<AccumulationAnnotationSettings> | null | Annotations for highlighting specific data points | AccumulationAnnotationSettings |
Background | string | null | Background color (hex or rgba) | - |
BackgroundImage | string | null | Background image URL | - |
Border | AccumulationChartBorder | null | Chart border configuration | AccumulationChartBorder |
Center | AccumulationChartCenter | null | Center position of pie/doughnut (x, y percentages) | AccumulationChartCenter |
CenterLabel | AccumulationChartCenterLabel | null | Center label configuration for doughnut charts | AccumulationChartCenterLabel |
DataSource | object | null | Chart data collection | - |
EnableAnimation | bool | true | Enable chart animation on load | - |
EnableBorderOnMouseMove | bool | true | Enable border on mouse hover | - |
EnableExport | bool | true | Enable export to JPEG, PNG, SVG, PDF, XLSX, CSV | - |
EnableHtmlSanitizer | bool | false | Sanitize untrusted HTML in chart content | - |
EnablePersistence | bool | false | Persist component state across page reloads | - |
EnableRtl | bool | false | Enable right-to-left rendering | - |
EnableSmartLabels | bool | true | Auto-arrange labels to prevent overlap | - |
FocusBorderColor | string | - | Focus border color for accessibility | - |
FocusBorderMargin | double | 0 | Focus border margin | - |
FocusBorderWidth | double | 1.5 | Focus border width | - |
Height | string | null | Chart height (e.g., "450px", "100%") | - |
HighlightColor | string | "" | Color for highlighting data points on hover | - |
HighlightMode | AccumulationHighlightMode | None | Highlight mode: None or Point | AccumulationHighlightMode |
HighlightPattern | SelectionPattern | None | Pattern for highlighting series/points | SelectionPattern |
IsMultiSelect | bool | false | Enable multiple point selection (requires selectionMode=Point) | - |
LegendSettings | AccumulationChartLegendSettings | null | Legend configuration | AccumulationChartLegendSettings |
Locale | string | "" | Culture/localization override (default: en-US) | - |
Margin | AccumulationChartMargin | null | Chart margins (left, right, top, bottom) | AccumulationChartMargin |
NoDataTemplate | object | null | Template for empty chart state | - |
SelectedDataIndexes | object | null | Initial selected point indexes | - |
SelectionMode | AccumulationSelectionMode | None | Selection mode: None or Point | AccumulationSelectionMode |
SelectionPattern | SelectionPattern | None | Pattern for selected series/points | SelectionPattern |
Series | List<AccumulationSeries> | null | Chart series collection | AccumulationSeries |
SubTitle | string | null | Chart subtitle text | - |
SubTitleStyle | AccumulationChartSubTitleStyle | null | Subtitle font and styling | AccumulationChartSubTitleStyle |
Theme | AccumulationTheme | Material | Visual theme | AccumulationTheme |
Title | string | null | Chart title text | - |
TitleStyle | AccumulationChartTitleStyleSettings | null | Title font and styling | AccumulationChartTitleStyleSettings |
Tooltip | AccumulationChartTooltipSettings | null | Tooltip configuration | AccumulationChartTooltipSettings |
UseGroupingSeparator | bool | false | Use thousand separator for numbers | - |
Width | string | null | Chart width (e.g., "100px", "100%") | - |
| Event | Type | Description |
|---|---|---|
AfterExport | string | Triggered after export completes |
AnimationComplete | string | Triggered after animation completes |
AnnotationRender | string | Triggered before annotation renders |
BeforeExport | string | Triggered before export starts |
BeforePrint | string | Triggered before print starts |
BeforeResize | string | Triggered before window resize |
ChartDoubleClick | string | Triggered on double-click |
ChartMouseClick | string | Triggered on mouse click |
ChartMouseDown | string | Triggered on mouse down |
ChartMouseLeave | string | Triggered when cursor leaves |
ChartMouseMove | string | Triggered on mouse move/hover |
ChartMouseUp | string | Triggered on mouse up |
LegendClick | string | Triggered after legend click |
LegendRender | string | Triggered before legend renders |
Load | string | Triggered before chart loads |
Loaded | string | Triggered after chart loads |
PointClick | string | Triggered when point is clicked |
PointMove | string | Triggered when point is hovered |
PointRender | string | Triggered before point renders |
Resized | string | Triggered after window resize completes |
SelectionComplete | string | Triggered after selection completes |
SeriesRender | string | Triggered before series renders |
TextRender | string | Triggered before data label renders |
TooltipRender | string | Triggered before tooltip renders |
Represents a data series in the accumulation chart.
| Property | Type | Default | Description | API Reference |
|---|---|---|---|---|
DataSource | object[] | null | Series data collection | - |
XName | string | null | Field name for X values (categories) | - |
YName | string | null | Field name for Y values (numeric data) | - |
Type | string | "Pie" | Series type: Pie, Pyramid, Funnel (Doughnut = Pie + innerRadius) | - |
Radius | string | "80%" | Chart radius (percentage or pixels) | - |
InnerRadius | string | "0%" | Inner radius for doughnut effect (percentage) | - |
StartAngle | double | 0 | Start angle in degrees (0-360) | - |
EndAngle | double | 360 | End angle in degrees (0-360) | - |
Explode | bool | false | Enable explosion on click | - |
ExplodeIndex | double | null | Index of pre-exploded point | - |
ExplodeOffset | string | "10%" | Distance exploded slice moves | - |
GroupTo | string | null | Grouping threshold (value or percentage) | - |
GroupMode | string | "Value" | Group mode: Value or Point | - |
GroupName | string | "Others" | Name for grouped points | - |
PyramidMode | string | "Linear" | Pyramid mode: Linear or Surface | - |
FunnelMode | string | "Standard" | Funnel mode: Standard or Trapezoidal | - |
NeckWidth | string | "20%" | Funnel neck width (percentage) | - |
NeckHeight | string | "20%" | Funnel neck height (percentage) | - |
Width | string | "80%" | Pyramid/Funnel width (percentage) | - |
Height | string | "80%" | Pyramid/Funnel height (percentage) | - |
GapRatio | double | 0 | Gap between pyramid/funnel segments | - |
Palettes | string[] | null | Custom color palette | - |
PointColorMapping | string | null | Field name for point colors | - |
PointRender | string | null | Event triggered before point renders | - |
DataLabel | AccumulationDataLabelSettings | null | Data label configuration | AccumulationDataLabelSettings |
EmptyPointSettings | AccumulationChartEmptyPointSettings | null | Empty point handling | AccumulationChartEmptyPointSettings |
ConnectorStyle | AccumulationChartConnector | null | Connector line styling | AccumulationChartConnector |
Border | AccumulationChartBorder | null | Series border styling | AccumulationChartBorder |
LegendShape | LegendShape | SeriesType | Legend icon shape | LegendShape |
TooltipMappingName | string | null | Field for custom tooltip content | - |
Configures data labels displayed on data points.
| Property | Type | Default | Description |
|---|---|---|---|
Visible | bool | false | Show/hide data labels |
Position | string | "Outside" | Label position: Inside or Outside |
Name | string | null | Field name for label text |
Template | string | null | HTML template for labels |
Format | string | null | Number format (e.g., "p1", "n2", "c2") |
TextWrap | string | "Normal" | Text wrapping: Normal, Wrap, AnyWhere |
MaxWidth | double | null | Max label width (pixels) |
Font | object | null | Font configuration |
Border | object | null | Label border configuration |
ConnectorStyle | string | "Line" | Connector type: Line or Curve |
Configures the legend for the chart.
| Property | Type | Default | Description | API Reference |
|---|---|---|---|---|
Visible | bool | false | Show/hide legend | - |
Position | string | "Right" | Legend position: Top, Bottom, Left, Right | LegendPosition |
Alignment | string | "Center" | Legend alignment: Near, Center, Far | Alignment |
Width | string | "0" | Legend width (pixels or percentage) | - |
Height | string | "0" | Legend height (pixels or percentage) | - |
Reverse | bool | false | Reverse legend item order | - |
Layout | string | "Vertical" | Layout: Vertical or Horizontal | - |
MaximumColumns | double | null | Max columns in horizontal layout | - |
ShapeWidth | double | 15 | Legend shape width | - |
ShapeHeight | double | 15 | Legend shape height | - |
Title | object | null | Legend title configuration | - |
Template | string | null | Custom HTML template for legend | - |
TextWrap | string | "Normal" | Text wrapping: Normal or Wrap | - |
MaximumLabelWidth | double | null | Max legend item label width | - |
EnablePages | bool | false | Enable paging for large legends | - |
ToggleVisibility | bool | true | Toggle point visibility on legend click | - |
Configures tooltips for the chart.
| Property | Type | Default | Description |
|---|---|---|---|
Enable | bool | false | Enable/disable tooltips |
Header | string | null | Custom tooltip header |
Format | string | null | Tooltip text format |
Template | string | null | HTML template for tooltips |
Fill | string | null | Tooltip background color |
Border | object | null | Tooltip border configuration |
TextStyle | object | null | Tooltip text styling |
Location | object | null | Fixed tooltip position (x, y) |
Opacity | double | 1 | Tooltip opacity |
Shared | bool | false | Show shared tooltip |
| Enum | Values | Description |
|---|---|---|
AccumulationTheme | Fabric, FabricDark, Bootstrap4, Bootstrap, BootstrapDark, HighContrastLight, HighContrast, Tailwind, TailwindDark, Bootstrap5, Bootstrap5Dark, Fluent, FluentDark, Fluent2, Fluent2Dark, Fluent2HighContrast, Material3, Material3Dark, Material, MaterialDark | Chart theme options |
AccumulationHighlightMode | None, Point | Highlight behavior |
AccumulationSelectionMode | None, Point | Selection behavior |
SelectionPattern | None, Chessboard, Dots, DiagonalForward, Crosshatch, Pacman, DiagonalBackward, Grid, Turquoise, Star, Triangle, Circle, Tile, HorizontalDash, VerticalDash, Rectangle, Box, VerticalStripe, HorizontalStripe, Bubble | Pattern options for highlighting/selection |
LegendShape | Circle, Rectangle, Triangle, Diamond, Cross, HorizontalLine, VerticalLine, Pentagon, InvertedTriangle, SeriesType | Legend icon shapes |
| Class | Namespace | Description | API Reference |
|---|---|---|---|
AccumulationChartBorder | Syncfusion.EJ2.Charts | Border configuration | AccumulationChartBorder |
AccumulationChartCenter | Syncfusion.EJ2.Charts | Center position | AccumulationChartCenter |
AccumulationChartMargin | Syncfusion.EJ2.Charts | Margin configuration | AccumulationChartMargin |
AccumulationChartConnector | Syncfusion.EJ2.Charts | Connector line styling | AccumulationChartConnector |
AccumulationChartEmptyPointSettings | Syncfusion.EJ2.Charts | Empty point handling | AccumulationChartEmptyPointSettings |
AccumulationAnnotationSettings | Syncfusion.EJ2.Charts | Annotation configuration | AccumulationAnnotationSettings |
AccumulationAccessibility | Syncfusion.EJ2.Charts | Accessibility options | AccumulationAccessibility |
| Property | Type | Description | Example |
|---|---|---|---|
enableSmartLabels | boolean | Auto-arrange labels to prevent overlap | true |
center | object | Position of chart center (x, y percentages) | {x: "50%", y: "50%"} |
legendSettings | object | Legend configuration (position, alignment) | {visible: true, position: 'Right'} |
tooltipSettings | object | Tooltip configuration and templates | {enable: true, format: '${point.x}: ${point.y}'} |
title | string | Chart title text | "Browser Market Share" |
height | string | Chart height | "450px" |
width | string | Chart width | "100%" |
theme | string | Visual theme | "Material" |
background | string | Background color | "#ffffff" |
| Property | Type | Description | Example |
|---|---|---|---|
type | string | Chart type: Pie, Pyramid, Funnel (Doughnut = Pie + innerRadius) | "Pie" |
dataSource | object[] | Data collection | @chartData |
xName | string | Field for category labels | "xValue" |
yName | string | Field for values | "yValue" |
radius | string | Chart radius (percentage or pixel) | "80%" |
innerRadius | string | Inner radius for doughnut (percentage) | "40%" |
startAngle | number | Start angle in degrees | 0 |
endAngle | number | End angle in degrees | 360 |
explode | boolean | Enable slice explosion on click | true |
explodeIndex | number | Index of pre-exploded slice | 2 |
explodeOffset | string | Explode distance | "10%" |
groupTo | string | Threshold for grouping | "11" |
groupMode | string | Group by: Point, Value | "Value" |
| Property | Type | Description | Example |
|---|---|---|---|
visible | boolean | Show/hide data labels | true |
position | string | Inside or Outside | "Outside" |
name | string | Field name for label text | "text" |
template | string | Custom HTML template | "<div>${point.x}: ${point.y}%</div>" |
connectorStyle | string | Line or Curve | "Curve" |
font | object | Font customization | {size: '12px', color: '#000'} |
Display product/service market distribution with pie charts showing competitor percentages.
Visualize department spending or resource allocation with doughnut charts and center totals.
Present poll or survey responses with grouped categories for small values.
Monitor conversion stages from leads to customers using funnel charts.
Display team size distribution or role distribution with pyramid charts.
Create responsive data visualizations optimized for touch interactions and small screens.
Export charts as images or PDFs for automated reporting systems.
Update charts dynamically to show live statistics (server status, user activity).
Next Steps:
references/accessibility.md (opens in a new tab)references/advanced-features.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/chart-types.md (opens in a new tab)references/data-handling.md (opens in a new tab)references/data-visualization.md (opens in a new tab)references/getting-started.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-aspnet-core66 skills in this plugin
/syncfusion-aspnetcore-3d-chartGuide for implementing Syncfusion 3D Chart in ASP.NET Core. Always use this skill when user needs 3D chart functionality, data visualization, series configuration, axes setup, or interactive chart features like tooltips and selection. Covers setup, data binding, chart types, styling, and user interactions./syncfusion-aspnetcore-accordionImplement Syncfusion Accordion component for organizing expandable navigation and content sections with single or multiple pane expansion support./syncfusion-aspnetcore-Other plugins' skills for the same job