Implementing .NET MAUI Pyramid Charts
Guide users to implement Syncfusion .NET MAUI Pyramid Chart (SfPyramidChart), which visualizes proportions of a total in hierarchical segments, making it ideal for displaying parts-to-whole relationships in high-quality .NET MAUI applications. As a single-series chart without axes, data is represented as percentages where the sum of parts equals the whole.
When to Use This Skill
Use this skill when the user needs to:
- Create pyramid charts to visualize hierarchical or proportional data in .NET MAUI applications
- Display parts-to-whole relationships where segments represent percentages of a total
- Implement funnel-like visualizations for sales stages, process flows, or demographic breakdowns
- Add interactive features like tooltips, legends, and data labels to pyramid charts
- Customize appearance with palettes, gradients, segment spacing, and orientation
- Enable modern UI effects like liquid glass styling for iOS/macOS applications
- Export chart visualizations as images (JPEG/PNG) or streams for reports and documents
- Configure data binding from view models to pyramid chart segments
Component Overview
The SfPyramidChart control provides:
- Single-series hierarchical data visualization
- Interactive tooltips and legends with customization
- Rich data label placement options (Auto, Inner, Center, Outer)
- Custom palette brushes and gradient support
- Two pyramid modes: Linear (height-based) and Surface (area-based)
- Segment spacing control with GapRatio
- Vertical and horizontal orientation options
- Modern liquid glass visual effects (iOS/macOS .NET 10+)
- Export to image formats or streams
- Toggle series visibility through legend interaction
- Scrollable legends for overflow handling
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
When the user needs to:
- Install the Syncfusion.Maui.Charts NuGet package
- Initialize SfPyramidChart in XAML or C#
- Create view models and bind data to the chart
- Configure ItemsSource, XBindingPath, and YBindingPath
- Understand basic pyramid chart setup and namespace imports
- See complete working examples with data binding
Data Labels
📄 Read: references/data-labels.md
When the user needs to:
- Enable and display data labels on pyramid segments
- Configure PyramidDataLabelSettings for label customization
- Control label placement (Auto, Inner, Center, Outer)
- Set label context to show X values or Y values
- Style labels with fonts, colors, backgrounds, borders, and corner radius
- Use series palette colors for label backgrounds
- Apply margins and customize label appearance
Legend
📄 Read: references/legend.md
When the user needs to:
- Add and configure ChartLegend to display segment information
- Customize legend label styles (font, color, size, attributes)
- Set legend icon types and customize icon appearance
- Position legends (Top, Bottom, Left, Right)
- Create floating legends with offset positioning
- Enable toggle series visibility through legend taps
- Customize legend layout with ItemsLayout
- Use custom legend item templates
- Handle LegendItemCreated events
- Override maximum size requests for legend view
Tooltip
📄 Read: references/tooltip.md
When the user needs to:
- Enable tooltips for displaying segment information on hover
- Configure ChartTooltipBehavior for tooltip customization
- Style tooltip appearance (background, fonts, colors, margins)
- Control tooltip display duration
- Create custom tooltip templates for advanced UI
- Bind tooltip content to item data properties
Appearance and Customization
📄 Read: references/appearance-customization.md
When the user needs to:
- Apply custom palette brushes to pyramid segments
- Use gradient fills (LinearGradientBrush, RadialGradientBrush)
- Switch between Linear and Surface pyramid modes
- Understand mode differences (height-based vs area-based)
- Control segment spacing with GapRatio property
- Implement visual styling best practices
- Create sophisticated gradient effects for segments
Orientation and Visual Effects
📄 Read: references/orientation-and-effects.md
When the user needs to:
- Change chart orientation from Vertical to Horizontal
- Implement liquid glass visual effects (iOS/macOS .NET 10+)
- Integrate SfGlassEffectView for modern UI styling
- Enable glass effects for tooltips
- Configure EffectType (Regular vs Clear glass appearance)
- Apply best practices for glass effects over backgrounds
- Use transparent backgrounds in custom tooltip templates
Exporting
📄 Read: references/exporting.md
When the user needs to:
- Export pyramid charts as images (JPEG or PNG)
- Use SaveAsImage method for file export
- Understand platform-specific save locations
- Configure file writing permissions for Android and Windows Phone
- Set iOS photo album access permissions
- Export charts as streams using GetStreamAsync
- Integrate chart streams with PDF, Excel, or Word components
- Handle ImageFileFormat options
1---
2name: syncfusion-maui-pyramid-charts
3description: Implements Syncfusion .NET MAUI Pyramid Chart (SfPyramidChart) for visually representing hierarchical, proportional, and parts-to-whole data using pyramid-shaped segments. Use this for pyramid charts, hierarchical data visualization, proportional data display, or segment-based charts. This skill covers installation, data binding, legends, tooltips, data labels, appearance customization, and gradients.
4metadata:
5 author: "Syncfusion Inc"
6 version: "34.1.29"
7---
8
9# Implementing .NET MAUI Pyramid Charts
10
11Guide users to implement Syncfusion .NET MAUI Pyramid Chart (SfPyramidChart), which visualizes proportions of a total in hierarchical segments, making it ideal for displaying parts-to-whole relationships in high-quality .NET MAUI applications. As a single-series chart without axes, data is represented as percentages where the sum of parts equals the whole.
12
13## When to Use This Skill
14
15Use this skill when the user needs to:
16
17- **Create pyramid charts** to visualize hierarchical or proportional data in .NET MAUI applications
18- **Display parts-to-whole relationships** where segments represent percentages of a total
19- **Implement funnel-like visualizations** for sales stages, process flows, or demographic breakdowns
20- **Add interactive features** like tooltips, legends, and data labels to pyramid charts
21- **Customize appearance** with palettes, gradients, segment spacing, and orientation
22- **Enable modern UI effects** like liquid glass styling for iOS/macOS applications
23- **Export chart visualizations** as images (JPEG/PNG) or streams for reports and documents
24- **Configure data binding** from view models to pyramid chart segments
25
26## Component Overview
27
28The **SfPyramidChart** control provides:
29- Single-series hierarchical data visualization
30- Interactive tooltips and legends with customization
31- Rich data label placement options (Auto, Inner, Center, Outer)
32- Custom palette brushes and gradient support
33- Two pyramid modes: Linear (height-based) and Surface (area-based)
34- Segment spacing control with GapRatio
35- Vertical and horizontal orientation options
36- Modern liquid glass visual effects (iOS/macOS .NET 10+)
37- Export to image formats or streams
38- Toggle series visibility through legend interaction
39- Scrollable legends for overflow handling
40
41## Documentation and Navigation Guide
42
43### Getting Started
44
45📄 **Read:** [references/getting-started.md](references/getting-started.md)
46
47When the user needs to:
48- Install the Syncfusion.Maui.Charts NuGet package
49- Initialize SfPyramidChart in XAML or C#
50- Create view models and bind data to the chart
51- Configure ItemsSource, XBindingPath, and YBindingPath
52- Understand basic pyramid chart setup and namespace imports
53- See complete working examples with data binding
54
55### Data Labels
56
57📄 **Read:** [references/data-labels.md](references/data-labels.md)
58
59When the user needs to:
60- Enable and display data labels on pyramid segments
61- Configure PyramidDataLabelSettings for label customization
62- Control label placement (Auto, Inner, Center, Outer)
63- Set label context to show X values or Y values
64- Style labels with fonts, colors, backgrounds, borders, and corner radius
65- Use series palette colors for label backgrounds
66- Apply margins and customize label appearance
67
68### Legend
69
70📄 **Read:** [references/legend.md](references/legend.md)
71
72When the user needs to:
73- Add and configure ChartLegend to display segment information
74- Customize legend label styles (font, color, size, attributes)
75- Set legend icon types and customize icon appearance
76- Position legends (Top, Bottom, Left, Right)
77- Create floating legends with offset positioning
78- Enable toggle series visibility through legend taps
79- Customize legend layout with ItemsLayout
80- Use custom legend item templates
81- Handle LegendItemCreated events
82- Override maximum size requests for legend view
83
84### Tooltip
85
86📄 **Read:** [references/tooltip.md](references/tooltip.md)
87
88When the user needs to:
89- Enable tooltips for displaying segment information on hover
90- Configure ChartTooltipBehavior for tooltip customization
91- Style tooltip appearance (background, fonts, colors, margins)
92- Control tooltip display duration
93- Create custom tooltip templates for advanced UI
94- Bind tooltip content to item data properties
95
96### Appearance and Customization
97
98📄 **Read:** [references/appearance-customization.md](references/appearance-customization.md)
99
100When the user needs to:
101- Apply custom palette brushes to pyramid segments
102- Use gradient fills (LinearGradientBrush, RadialGradientBrush)
103- Switch between Linear and Surface pyramid modes
104- Understand mode differences (height-based vs area-based)
105- Control segment spacing with GapRatio property
106- Implement visual styling best practices
107- Create sophisticated gradient effects for segments
108
109### Orientation and Visual Effects
110
111📄 **Read:** [references/orientation-and-effects.md](references/orientation-and-effects.md)
112
113When the user needs to:
114- Change chart orientation from Vertical to Horizontal
115- Implement liquid glass visual effects (iOS/macOS .NET 10+)
116- Integrate SfGlassEffectView for modern UI styling
117- Enable glass effects for tooltips
118- Configure EffectType (Regular vs Clear glass appearance)
119- Apply best practices for glass effects over backgrounds
120- Use transparent backgrounds in custom tooltip templates
121
122### Exporting
123
124📄 **Read:** [references/exporting.md](references/exporting.md)
125
126When the user needs to:
127- Export pyramid charts as images (JPEG or PNG)
128- Use SaveAsImage method for file export
129- Understand platform-specific save locations
130- Configure file writing permissions for Android and Windows Phone
131- Set iOS photo album access permissions
132- Export charts as streams using GetStreamAsync
133- Integrate chart streams with PDF, Excel, or Word components
134- Handle ImageFileFormat options
135