Spread Windows Forms 12.0 Product Documentation
Walls
Spread Windows Forms 12.0 Product Documentation > Developer's Guide > Working with the Chart Control > Understanding Charts > Walls

A wall is the area (or plane) behind, below, or to the side of a chart.

A wall can have a border, fill effect, or width (measured in model units). The wall can be visible or hidden. The axis grids (major and minor) and stripes are painted on the walls. The axis grid lines (major and minor) are painted over the axis stripes.

The following image displays a chart with back, bottom, and side walls.

Chart Walls

See the following for more information on how to set properties for walls:

Using Code

Use properties in the plot area classes to set options for the walls.

Example

The following example sets properties for the wall.

C#
Copy Code
YPlotArea plotArea = new YPlotArea();
plotArea.BackWall.Visible = true; 
VB
Copy Code
Dim plotArea As New FarPoint.Win.Chart.YPlotArea()
plotArea.BackWall.Visible = True 

Using the Chart Designer

  1. Select the PlotArea Collection editor.
  2. Click the drop-down button on the right side of the Add button (lower, left side of dialog) to change the plot type.
  3. Set the wall properties as needed.