[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Providing Data
    [Collapse]Chart Elements
       Simple 2D Diagram
       Simple 3D Diagram
       2D XY Diagram
       3D XY Diagram
       2D Polar Diagram
       2D Radar Diagram
      Chart Titles
    [Expand]Appearance Customization
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Simple 2D Diagram

The document highlights the Simple 2D Diagram's specifics. This diagram displays series such as Pies and Donuts in a two-dimensional view.

This document consists of the following sections:

Expanded Compatible Series Types

The diagram can only contain series of compatible types. You can add the following series to the Simple 2D Diagram:

Series type Image
Pie and Donut
Nested Donut

Refer to the Series Types Compatibility document to learn more about series compatibility.

Expanded How to Create a Chart with a Simple Diagram

The markup below demonstrates how to design a chart with a simple diagram that contains two pie series.

The markup uses the following classes and properties:

Class or Property Description
ChartControl The Chart control.
SimpleDiagram2D The 2D Simple diagram.
SimpleDiagram2D.Dimension Specifies the number of pie charts that can be in one line (row or column).
SimpleDiagram2D.LayoutDirection Specifies how separate series are relative to each other (horizontally or vertically).
PieSeries2D A pie series.
SeriesPoint A series point.
SeriesPoint.Argument A series point's argument.
SeriesPoint.Value A series point's value.

You can also access a 2D Simple Diagram at runtime using the following code:

Expanded See Also

Is this topic helpful?​​​​​​​