Log In
[Expand]Welcome to DevExpress .NET Documentation
[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]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Providing Data
    [Expand]Appearance Customization
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Collapse]Visual Elements
      Chart Area
      Chart Title
      Secondary Axis
      Axis Title
      Axis Labels
      Custom Axis Label
      Axis Tickmarks
      Constant Line
      Constant Line Title
      Grid Lines
      Series Point
      Series Point Marker
      Series Point Label
      Series Title
      Legend Marker
      Legend Check Box
      Trend Lines
      Regression Lines
      Moving Average and Envelope
      Fibonacci Indicators
      Oscillator Indicators
      Price Indicators
      Error Bars
      Scale Breaks
      Total Labels
    [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]Diagram Control
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation


The XYDiagram represents one or several Panes. The pane is a rectangular area used to display axes (along with their grid lines, constant lines, strips, etc.) and to plot the series points of one or more series.

Initially, a diagram displays a single default pane, which is accessible via the XYDiagram2D.DefaultPane property. If a diagram contains several series, it is possible to display each series on a separate pane. It can be done by adding a new pane to the XYDiagram2D.Panes collection (it is empty by default) and setting the XYDiagram2D.SeriesPane property value for the series to the required pane.

The panes can be stacked either horizontally, vertically or in any other manner. It is possible because their layout uses standard WPF panels (such as Grid, StackPanel, Canvas). So, you can easily place them, for example, one into another.

The table below lists the main properties that affect element appearance and functionality.

Class The Pane class
Availability XYDiagram2D.DefaultPane, XYDiagram2D.Panes, XYDiagram2D.SeriesPane
Layout XYDiagram2D.PanesPanel, XYDiagram2D.PaneOrientation, System.Windows.Controls.Control.Padding, System.Windows.FrameworkElement.Margin
Appearance Pane.DomainBrush, System.Windows.Controls.Control.Background, System.Windows.Controls.Control.Foreground, Pane.AxisXScrollBarOptions, Pane.AxisYScrollBarOptions
Size Pane.MirrorHeight

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