Spread Windows Forms 14.0
Spread Windows Forms 14.0 Product Documentation / Developer's Guide / Chart Control / Understanding Charts / Plot area / Walls
In This Topic
    Walls
    In This Topic

    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.

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

    Example

    The following example shows the back of the plot area and fills it with a solid color.

    C#
    Copy Code
    FarPoint.Win.Chart.YPlotArea plotArea = new FarPoint.Win.Chart.YPlotArea();
    plotArea.BackWall.Visible = true;
    plotArea.BackWall.Fill = new FarPoint.Win.Chart.SolidFill(Color.Aquamarine);
    
    Visual Basic
    Copy Code
    Dim plotArea As New FarPoint.Win.Chart.YPlotArea()
    plotArea.BackWall.Visible = True
    plotArea.BackWall.Fill = New FarPoint.Win.Chart.SolidFill(Color.Aquamarine)
    

    Using a Chart designer

    1. Run the Chart Designer.
    2. Select the target Plot Area from the tree menu on the left.
    3. From the Other section of the property list on the right, expand the BackWall tree and set its properties.
    4. Click OK and close the Chart Designer.
    For information on starting Chart Designer, refer to Chart Designer in the SPREAD Designer Guide.