Skip to main content

Panes

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

VisualElements_Panes

By default, 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. For this, add a new pane to the XYDiagram2D.Panes collection (by default it is empty) and set the Series.View.Pane property to this pane.

Also, if the same axis is used by several series, and these series are shown in different panes, you can customize the axis visibility using its Axis2D.VisibilityInPanes property.

The table below lists the main properties which affect the element’s appearance and functionality:

Class

The XYDiagramPaneBase class descendants (XYDiagramPane and XYDiagramDefaultPane).

Availability

XYDiagram2D.DefaultPane, XYDiagramSeriesViewBase.Pane

Layout

GridPaneLayout.Direction, XYDiagram2D.PaneDistance

Appearance

XYDiagramPaneBase.BackColor, XYDiagramPaneBase.BackImage, XYDiagramPaneBase.BorderColor, XYDiagramPaneBase.BorderVisible, XYDiagramPaneBase.FillStyle, XYDiagramPaneBase.Shadow

Size

GridPaneLayout.RowDefinition, GridPaneLayout.ColumnDefinitions

See Also