[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
   [Expand]Chart Control
   [Collapse]Chart3D Control
    [Expand]Getting Started
  [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)


The Chart3D control can contain the unlimited number of legends. Each legend can display information about Series, their colorized point markers or surface fill styles.

This document explains how to solve the following tasks.

Expanded Add and Configure a Legend

To configure a newly added legend, use XAML like the following. Note that the legend title accompanies the legend.

The code above uses the following classes and properties.

Class or Property Description
ChartControlBase.Legends The collection of legends of the Chart3D control.
Legend An individual legend.
Legend.IndentFromDiagram Specifies the indent between the legend and the chart.
Legend.HorizontalPosition Specifies the horizontal position of the legend.
Legend.VerticalPosition Specifies the vertical position of the legend.
Legend.Title Specifies options of the legend title.
LegendTitle Legend title options.

The following image demonstrates the result of the code above.

Expanded Specify Legend Items Shown in a Legend

Each series can provide a legend item to a legend. In addition, colorizers and fill styles also add their legend items to a legend. The following images demonstrate the different available legend item types.

The following XAML demonstrates how legend items can be configured.

The XAML above uses the following types and properties.

Class or Property





Specifies whether a chart element should provide its legend items to a legend.




Specifies the legend to which legend items of the chart element should be added.




Configures the text pattern specifying the text to be displayed within legend items.


Specifies whether the series check box should be shown on the attached legend. Note that, check boxes will be shown within a legend, if its Legend.MarkerMode property is set to CheckBox, MarkerAndCheckBoxor CheckBoxAndMarker.


Specifies whether the series check box is checked.

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