Skip to content

SyncfusionExamples/How-to-apply-gradient-color-for-.NET-MAUI-Sunburst-Chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

How to apply gradient color for .NET MAUI Sunburst Chart

Learn how to apply gradient colors to Syncfusion .NET MAUI Sunburst Chart segments using PaletteBrushes for stunning hierarchical data visualizations.

Overview

This knowledge base article demonstrates how to apply vibrant gradient colors to segments in the Syncfusion .NET MAUI Sunburst Chart control. You'll learn to create LinearGradientBrush and RadialGradientBrush in a ViewModel, bind them to the PaletteBrushes property, and implement dynamic theme switching for enhanced hierarchical data visualization.

Syncfusion .NET MAUI Sunburst Chart Control

The Syncfusion .NET MAUI Sunburst Chart is a powerful data visualization control that displays hierarchical data in concentric circular segments. Each level in the hierarchy is represented as a ring, with inner rings showing parent categories and outer rings displaying child categories. The chart provides an intuitive way to visualize proportional relationships and hierarchical structures.

Key Features

  • Hierarchical Data Visualization: Display multi-level categorical data in nested circular segments
  • Custom Color Palettes: Apply solid colors, gradients (linear/radial), or custom brushes to segments
  • Interactive Elements: Built-in support for tooltips, legends.
  • Data Binding: Seamless binding to data sources with ValueMemberPath and GroupMemberPath
  • Label Customization: Configure data labels with various overflow modes and positioning
  • Selection Support: Enable segment selection with customizable selection behavior
  • Drill-down Navigation: Navigate through hierarchical levels interactively

Output

MAUI Sunburst chart Gradient color

Troubleshooting

Path Too Long Exception

If you are facing a "Path too long" exception when building this example project, close Visual Studio and rename the repository to a shorter name before building the project.

For a detailed step-by-step guide with relevant code snippets, refer to the How to apply gradient color for .NET MAUI Sunburst Chart.

Releases

No releases published

Packages

 
 
 

Contributors

Languages