Skip to main content

Panes

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 point 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.

Panes

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, Padding, Margin

Appearance

Pane.DomainBrush, Background, Foreground, Pane.AxisXScrollBarOptions, Pane.AxisYScrollBarOptions

Size

Pane.MirrorHeight