/syncfusion-winforms:syncfusion-winforms-treemapfrom Syncfusion WinForms Controls
Implement Syncfusion Windows Forms TreeMap control for hierarchical data visualization with nested rectangles. Use this when working with TreeMap controls, hierarchical data display, space-efficient charts, or color-coded visualizations. Covers TreeMap configuration, layout algorithms, color mapping, and customization for stock market visualizations and data categorization with rectangular layouts.
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.
Guide for implementing the Syncfusion® Windows Forms TreeMap control for visualizing hierarchical data through nested, color-coded rectangles. TreeMaps efficiently display large datasets where the size and color of rectangles represent quantitative values.
Use this skill when you need to:
Tree maps are ideal for visualizing large amounts of data where space is split into rectangles sized and colored based on quantitative variables. The levels in the hierarchy are visualized as rectangles containing other rectangles.
Key concepts:
TreeMaps are used to represent large or complex data sets in various applications:
📄 Read: references/getting-started.md
📄 Read: references/overview-and-use-cases.md
📄 Read: references/weight-and-color-paths.md
📄 Read: references/items-source-and-levels.md
📄 Read: references/layout-modes.md
📄 Read: references/color-mapping.md
📄 Read: references/headers-and-labels.md
📄 Read: references/legend-support.md
📄 Read: references/tooltip-and-customization.md
Install-Package Syncfusion.TreeMap.WinForms
using System.Collections.ObjectModel;
public class PopulationDetail
{
public string Continent { get; set; }
public string Country { get; set; }
public double Growth { get; set; }
public double Population { get; set; }
}
public class PopulationViewModel
{
public ObservableCollection<PopulationDetail> PopulationDetails { get; set; }
public PopulationViewModel()
{
PopulationDetails = new ObservableCollection<PopulationDetail>();
PopulationDetails.Add(new PopulationDetail
{
Continent = "Asia",
Country = "Indonesia",
Growth = 3,
Population = 237641326
});
PopulationDetails.Add(new PopulationDetail
{
Continent = "Asia",
Country = "Russia",
Growth = 2,
Population = 152518015
});
PopulationDetails.Add(new PopulationDetail
{
Continent = "North America",
Country = "United States",
Growth = 4,
Population = 315645000
});
// Add more data...
}
}
using Syncfusion.Windows.Forms.TreeMap;
public class MyForm : Form
{
private TreeMap treeMap;
public MyForm()
{
InitializeComponent();
// Create TreeMap instance
treeMap = new TreeMap();
// Set data source
PopulationViewModel data = new PopulationViewModel();
treeMap.ItemsSource = data.PopulationDetails;
// Configure paths
treeMap.WeightValuePath = "Population";
treeMap.ColorValuePath = "Growth";
// Set layout mode
treeMap.ItemsLayoutMode = ItemsLayoutModes.Squarified;
// Add first level (Continent)
TreeMapFlatLevel level1 = new TreeMapFlatLevel();
level1.GroupPath = "Continent";
level1.ShowLabels = true;
treeMap.Levels.Add(level1);
// Add second level (Country)
TreeMapFlatLevel level2 = new TreeMapFlatLevel();
level2.GroupPath = "Country";
level2.ShowLabels = true;
level2.HeaderHeight = 25;
treeMap.Levels.Add(level2);
// Add color mapping
UniColorMapping colorMapping = new UniColorMapping();
colorMapping.Color = Color.MediumSlateBlue;
treeMap.LeafColorMapping = colorMapping;
// Set size and add to form
treeMap.Size = new Size(800, 600);
treeMap.Location = new Point(10, 10);
this.Controls.Add(treeMap);
}
}
// Create levels for nested grouping
TreeMapFlatLevel level1 = new TreeMapFlatLevel();
level1.GroupPath = "Category";
level1.ShowLabels = true;
treeMap.Levels.Add(level1);
TreeMapFlatLevel level2 = new TreeMapFlatLevel();
level2.GroupPath = "SubCategory";
level2.ShowLabels = true;
level2.HeaderHeight = 25;
treeMap.Levels.Add(level2);
TreeMapFlatLevel level3 = new TreeMapFlatLevel();
level3.GroupPath = "Item";
level3.ShowLabels = true;
level3.HeaderHeight = 20;
treeMap.Levels.Add(level3);
RangeBrushColorMapping rangeMapping = new RangeBrushColorMapping();
rangeMapping.Brushes.Add(new RangeBrush
{
Color = ColorTranslator.FromHtml("#77D8D8"),
From = 0,
To = 1,
LegendLabel = "Low"
});
rangeMapping.Brushes.Add(new RangeBrush
{
Color = ColorTranslator.FromHtml("#FFAF51"),
From = 1,
To = 5,
LegendLabel = "Medium"
});
rangeMapping.Brushes.Add(new RangeBrush
{
Color = ColorTranslator.FromHtml("#F3D240"),
From = 5,
To = 20,
LegendLabel = "High"
});
treeMap.LeafColorMapping = rangeMapping;
// Enable tooltips
treeMap.IsToolTipVisible = true;
// Configure header tooltip
ToolTipInfo headerToolTip = new ToolTipInfo();
headerToolTip.ToolTipHeaderPattern = "<b>{Label}</b>";
headerToolTip.ToolTipContentPattern = "Growth: {Growth}%";
treeMap.HeaderToolTipInfo = headerToolTip;
// Configure item tooltip
ToolTipInfo itemToolTip = new ToolTipInfo();
itemToolTip.ToolTipHeaderPattern = "<b>{Country}</b>";
itemToolTip.ToolTipContentPattern = "Growth: {Growth}%\nPopulation: {Population}";
treeMap.ItemToolTipInfo = itemToolTip;
| Property | Type | Description |
|---|---|---|
ItemsSource | object | Data collection to visualize |
WeightValuePath | string | Path to field determining rectangle size |
ColorValuePath | string | Path to field for color mapping |
ItemsLayoutMode | ItemsLayoutModes | Layout algorithm selection |
Levels | TreeMapLevelCollection | Collection of hierarchical levels |
LeafColorMapping | TreeMapColorMapping | Color mapping strategy |
| Property | Type | Description |
|---|---|---|
LabelFont | Font | Font for leaf node labels |
LabelBrush | Brush | Label text color |
LabelBackgroundBrush | Brush | Label background color |
LabelBorderBrush | Brush | Label border color |
LabelBorderThickness | int | Label border width |
HeaderBrush | Brush | Header background color |
| Property | Type | Description |
|---|---|---|
LegendPosition | LegendPositions | Legend placement (Top/Bottom/Left/Right) |
LegendType | LegendTypes | Legend icon shape |
LegendGap | int | Spacing between legend items |
| Property | Type | Description |
|---|---|---|
IsToolTipVisible | bool | Enable/disable tooltips |
HeaderToolTipInfo | ToolTipInfo | Tooltip configuration for headers |
ItemToolTipInfo | ToolTipInfo | Tooltip configuration for leaf items |
Squarified:
SliceAndDiceAuto:
SliceAndDiceHorizontal:
SliceAndDiceVertical:
UniColorMapping:
RangeBrushColorMapping:
DesaturationColorMapping:
PaletteColorMapping:
level.ShowLabels = true for each levelTreeMap.LeafColorMappingSyncfusion.TreeMap.WinForms NuGet packageAssembly: Syncfusion.TreeMap.Windows
Namespace: Syncfusion.Windows.Forms.TreeMap
NuGet Package: Syncfusion.TreeMap.WinForms
references/color-mapping.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/headers-and-labels.md (opens in a new tab)references/items-source-and-levels.md (opens in a new tab)references/layout-modes.md (opens in a new tab)references/legend-support.md (opens in a new tab)references/overview-and-use-cases.md (opens in a new tab)references/tooltip-and-customization.md (opens in a new tab)references/weight-and-color-paths.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winformsOther plugins' skills for the same job
113 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.