/syncfusion-winforms:syncfusion-winforms-pivot-chartfrom Syncfusion WinForms Controls
Implement Syncfusion Windows Forms Pivot Chart control for visualizing multidimensional data with interactive drill-down capabilities. Use this when working with pivot charts, pivot data visualization, drill-down charts, hierarchical chart data, or business intelligence visualizations. Supports 11+ chart types (Line, Spline, Column, Area, Stacking), data binding with IEnumerable/DataTable, drill up/down operations, pivot table field list, grouping bar, legend customization, Excel export, zooming, scrolling, and touch support.
Ships in Syncfusion WinForms 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 guide for implementing the Syncfusion Pivot Chart control in Windows Forms applications. The Pivot Chart provides interactive visualization of multidimensional pivot data with drill-down capabilities, supporting 11+ chart types and advanced features like grouping bar, field list, and Excel export.
Use this skill when you need to:
The Syncfusion Pivot Chart is a lightweight, high-performance control that reads pivot information and visualizes it in graphical format. It provides:
📄 Read: references/getting-started.md
📄 Read: references/data-binding.md
📄 Read: references/chart-types.md
📄 Read: references/drill-operations.md
📄 Read: references/grouping-bar.md
📄 Read: references/pivot-axis.md
📄 Read: references/pivot-table-field-list.md
📄 Read: references/legend.md
📄 Read: references/sorting.md
📄 Read: references/export.md
📄 Read: references/zooming-scrolling.md
📄 Read: references/touch-support.md
📄 Read: references/appearance-customization.md
📄 Read: references/troubleshooting.md
using System;
using System.Windows.Forms;
using Syncfusion.Windows.Forms.PivotChart;
using Syncfusion.PivotAnalysis.Base;
namespace PivotChartDemo
{
public partial class Form1 : Form
{
private PivotChart pivotChart1;
public Form1()
{
InitializeComponent();
// Initialize Pivot Chart
pivotChart1 = new PivotChart();
pivotChart1.Dock = DockStyle.Fill;
// Bind data source
pivotChart1.ItemSource = ProductSales.GetSalesData();
// Configure Pivot Axis (hierarchical structure)
pivotChart1.PivotAxis.Add(new PivotItem
{
FieldMappingName = "Product",
TotalHeader = "Total"
});
pivotChart1.PivotAxis.Add(new PivotItem
{
FieldMappingName = "Country",
TotalHeader = "Total"
});
pivotChart1.PivotAxis.Add(new PivotItem
{
FieldMappingName = "State",
TotalHeader = "Total"
});
// Configure Pivot Legend (series categorization)
pivotChart1.PivotLegend.Add(new PivotItem
{
FieldMappingName = "Date",
TotalHeader = "Total"
});
// Configure Calculations (data aggregation)
pivotChart1.PivotCalculations.Add(new PivotComputationInfo
{
FieldName = "Quantity",
Format = "#,##0"
});
// Set chart type
pivotChart1.ChartTypes = PivotChartTypes.Column;
// Enable drill-down
pivotChart1.AllowDrillDown = true;
// Add to form
this.Controls.Add(pivotChart1);
}
}
}
using System.Collections.Generic;
// Data model
public class SalesData
{
public string Product { get; set; }
public string Region { get; set; }
public string Quarter { get; set; }
public int Quantity { get; set; }
public decimal Amount { get; set; }
}
// Create and bind data
private void BindPivotChart()
{
List<SalesData> salesList = new List<SalesData>
{
new SalesData { Product = "Laptop", Region = "North", Quarter = "Q1", Quantity = 50, Amount = 50000 },
new SalesData { Product = "Laptop", Region = "South", Quarter = "Q1", Quantity = 40, Amount = 40000 },
new SalesData { Product = "Mouse", Region = "North", Quarter = "Q1", Quantity = 200, Amount = 6000 },
// Add more data...
};
pivotChart1.ItemSource = salesList;
// Configure fields
pivotChart1.PivotAxis.Add(new PivotItem { FieldMappingName = "Product", TotalHeader = "Total" });
pivotChart1.PivotLegend.Add(new PivotItem { FieldMappingName = "Quarter", TotalHeader = "Total" });
pivotChart1.PivotCalculations.Add(new PivotComputationInfo
{
FieldName = "Amount",
Format = "C",
SummaryType = SummaryType.DoubleTotalSum
});
}
// Add buttons or menu items to switch chart types
private void btnLineChart_Click(object sender, EventArgs e)
{
pivotChart1.ChartTypes = PivotChartTypes.Line;
}
private void btnColumnChart_Click(object sender, EventArgs e)
{
pivotChart1.ChartTypes = PivotChartTypes.Column;
}
private void btnAreaChart_Click(object sender, EventArgs e)
{
pivotChart1.ChartTypes = PivotChartTypes.Area;
}
private void btnStackingColumn_Click(object sender, EventArgs e)
{
pivotChart1.ChartTypes = PivotChartTypes.StackingColumn;
}
// Enable drill-down with multiple hierarchy levels
private void ConfigureDrillDown()
{
pivotChart1.AllowDrillDown = true;
// Define hierarchy: Category → Product → Region → State
pivotChart1.PivotAxis.Clear();
pivotChart1.PivotAxis.Add(new PivotItem
{
FieldMappingName = "Category",
TotalHeader = "All Categories"
});
pivotChart1.PivotAxis.Add(new PivotItem
{
FieldMappingName = "Product",
TotalHeader = "All Products"
});
pivotChart1.PivotAxis.Add(new PivotItem
{
FieldMappingName = "Region",
TotalHeader = "All Regions"
});
pivotChart1.PivotAxis.Add(new PivotItem
{
FieldMappingName = "State",
TotalHeader = "All States"
});
}
// Enable automatic updates when data changes
private void ConfigureRealTimeUpdates()
{
// Enable automatic chart updates
pivotChart1.EnableUpdating = true;
// Bind to observable collection or implement INotifyPropertyChanged
var salesData = new BindingList<SalesData>(GetSalesData());
pivotChart1.ItemSource = salesData;
// Now any changes to salesData will automatically update the chart
}
// For bulk updates, use BeginUpdate/EndUpdate
private void BulkDataUpdate()
{
pivotChart1.BeginUpdate();
try
{
// Perform multiple data operations
var data = (BindingList<SalesData>)pivotChart1.ItemSource;
for (int i = 0; i < 100; i++)
{
data.Add(new SalesData { /* ... */ });
}
}
finally
{
pivotChart1.EndUpdate(); // Chart updates once after all changes
}
}
// Display multiple aggregated values with custom formatting
private void ConfigureMultipleCalculations()
{
pivotChart1.PivotCalculations.Clear();
// Total quantity
pivotChart1.PivotCalculations.Add(new PivotComputationInfo
{
FieldName = "Quantity",
Format = "#,##0",
SummaryType = SummaryType.DoubleTotalSum,
FieldHeader = "Total Qty"
});
// Total amount (currency)
pivotChart1.PivotCalculations.Add(new PivotComputationInfo
{
FieldName = "Amount",
Format = "C2",
SummaryType = SummaryType.DoubleTotalSum,
FieldHeader = "Total Amount"
});
// Average price
pivotChart1.PivotCalculations.Add(new PivotComputationInfo
{
FieldName = "UnitPrice",
Format = "C2",
SummaryType = SummaryType.DoubleAverage,
FieldHeader = "Avg Price"
});
}
| Property | Type | Description |
|---|---|---|
ItemSource | object | Data source (IEnumerable or DataTable) |
PivotAxis | PivotItemCollection | Fields for chart axis (hierarchical) |
PivotLegend | PivotItemCollection | Fields for legend/series |
PivotCalculations | PivotComputationInfoCollection | Calculation/aggregation fields |
ChartTypes | PivotChartTypes | Chart type (Line, Column, Area, etc.) |
AllowDrillDown | bool | Enable drill-down/drill-up operations |
EnableUpdating | bool | Auto-update when data changes |
| Property | Type | Description |
|---|---|---|
FieldMappingName | string | Name of data field to bind |
TotalHeader | string | Header text for total/aggregate row |
FieldHeader | string | Display header for the field |
| Property | Type | Description |
|---|---|---|
FieldName | string | Name of field to calculate |
Format | string | Number format string |
SummaryType | SummaryType | Aggregation type (Sum, Average, Count, etc.) |
FieldHeader | string | Display name for calculation |
| Method | Description |
|---|---|
BeginUpdate() | Suspend chart updates for bulk operations |
EndUpdate() | Resume chart updates and refresh |
Refresh() | Manually refresh the chart |
references/appearance-customization.md (opens in a new tab)references/chart-types.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/drill-operations.md (opens in a new tab)references/export.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/grouping-bar.md (opens in a new tab)references/legend.md (opens in a new tab)references/pivot-axis.md (opens in a new tab)references/pivot-table-field-list.md (opens in a new tab)references/sorting.md (opens in a new tab)references/touch-support.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/zooming-scrolling.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms113 skills in this plugin
/syncfusion-winforms-ai-assistviewGuide for implementing Syncfusion Windows Forms AI AssistView (SfAIAssistView) for building conversational AI interfaces in desktop applications. Use this when creating chat interfaces, AI assistants, or chatbots with Windows Forms. Supports OpenAI and Azure OpenAI integration, typing indicators, chat suggestions, message bubbles, custom views, input toolbar with attachments, response toolbar actions, and stop responding for interactive messaging experiences./syncfusion-winforms-autocompleteGuides implementation of the Syncfusion WinForms AutoComplete control for text input with auto-suggestion functionality. Use when users want to add autocomplete textboxes, implement auto-suggestion features, create search boxes with suggestions, enable URL/email autocomplete, or build type-ahead search functionality in Windows desktop applications. Covers data binding, customization, filtering, multi-column dropdowns, events, and all AutoComplete-specific features./syncfusion-winforms-autolabelGuides implementation of the Syncfusion WinForms AutoLabel control for automatic label positioning with form controls. Use when users want to add labels that automatically reposition when controls move, create form layouts with paired label-control units, implement complex form designs with FlowLayout, or ensure labels stay synchronized with their associated controls. Covers labeling controls, positioning, spacing, size settings, theming, and events.Other plugins' skills for the same job