# Walls

In DsExcel, you can define the thickness, fill color, line color, and format of the back and side walls of the chart.

## Content





A wall refers to an area or a plane that is present behind, below or beside a chart.

Using DsExcel Java, you can configure a chart as per your custom preferences via defining the thickness, fill color, line color and format of the back wall as well as the side wall, using the methods of the [IWall](/document-solutions/java-excel-api/api/online/com/grapecity/documents/excel/drawing/IWall.html) interface and the [IChart](/document-solutions/java-excel-api/api/online/com/grapecity/documents/excel/drawing/IChart.html) interface.

In order to configure the walls of the chart inserted in a worksheet, refer to the following example code.

```Java
// Config back wall and side wall's format together.
IShape shape1 = worksheet.getShapes().addChart(ChartType.Column3D, 10, 10, 250, 250);
shape1.getChart().getSeriesCollection().add(worksheet.getRange("A1:D6"), RowCol.Columns, true, true);
shape1.getChart().getSideWall().setThickness(20);
shape1.getChart().getSideWall().getFormat().getFill().getColor().setRGB(Color.GetRed());
shape1.getChart().getSideWall().getFormat().getLine().getColor().setRGB(Color.GetBlue());
        
// Config back wall's format individually.
IShape shape2 = worksheet.getShapes().addChart(ChartType.Column3D, 300, 10, 250, 250);
shape2.getChart().getSeriesCollection().add(worksheet.getRange("A1:D6"), RowCol.Columns, true, true);
shape2.getChart().getBackWall().setThickness(20);
shape2.getChart().getBackWall().getFormat().getFill().getColor().setRGB(Color.GetRed());
shape2.getChart().getBackWall().getFormat().getLine().getColor().setRGB(Color.GetBlue());
```

![](https://cdn.mescius.io/document-site-files/images/dd59ea42-cd61-4fa6-a018-6231c2a9c598/images/chart-wall.png)