Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Chart Control
   [Expand]Getting Started
   [Collapse]Fundamentals
    [Expand]Charting Basics
    [Expand]Professional Charting
    [Collapse]Series Views
     [Collapse]2D Series Views
      [Expand]Area Series Views
      [Expand]Bar Series Views
      [Expand]Financial Series Views
      [Expand]Gantt Series Views
      [Collapse]Pie and Donut Series Views
        Pie Chart
        Doughnut Chart
        Nested Doughnut Chart
      [Expand]Point and Line Series Views
      [Expand]Radar Series Views
      [Expand]Polar Series Views
       Funnel Series View
       Swift Plot Series View
     [Expand]3D Series Views
      Series Views Compatibility
    [Expand]Chart Elements
   [Expand]Providing Data
   [Expand]Appearance Customization
   [Expand]End-User Features
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Additional Resources
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Nested Doughnut Chart

Expanded Short Description

The Nested Doughnut Chart is represented by the NestedDoughnutSeriesView object, which belongs to Pie and Donut Series Views. This view is similar to the Doughnut series view, but compares series with one doughnut nested in another one.

In the image below the Nested Doughnut chart shows the Age structure of the United States, Brazil and Russia population grouped by gender (Female and Male series).

Note that to control the size of the nested doughnut's hole, use the DoughnutSeriesView.HoleRadiusPercent property. For example, in the above image, this property is set to 40.

You can define an inner indent between the nested doughnuts (NestedDoughnutSeriesView.InnerIndent), specify the relative size for the nested doughnut series (NestedDoughnutSeriesView.Weight), and create groups for similar Nested Doughnut series (NestedDoughnutSeriesView.Group).

Expanded Chart Type Characteristics

The table below lists the main characteristics of this chart type.

Feature

Value

Series View type NestedDoughnutSeriesView
Diagram type 2D-SimpleDiagram
Number of arguments per series point 1
Number of values per series point 1
Note

For information on which chart types can be combined with the Nested Doughnut Chart, refer to the Series Views Compatibility document.

Expanded Example

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E5221.

The following example demonstrates how to create a ChartControl with a series of the NestedDoughnutSeriesView type, set its general properties, and add this chart to a form at runtime. Before proceeding with this example, first create a Windows Forms Application in Visual Studio, and include all necessary assemblies in the References list of your project.

Then, add the following code to the Form.Load event handler.

How would you rate this topic?​​​​​​​