This topic describes how to customize the ASP.NET Chart Control's pane appearance. Before proceeding with this section, you may wish to review the following help topic on pane fundamentals: Panes. To learn how to create additional panes, refer to the following topic: Adding Panes.
You can individually customize the appearance of panes, with no regard whether or not a pane is the default or an additional. To do this, you can use the properties described below.
- Use the XYDiagramPaneBase.Visible property to show or hide the pane in the chart's diagram, while maintaining it in the pane collection.
- To rename the pane, use the ChartElementNamed.Name property.
To define the look of the pane's borders, use the XYDiagramPaneBase.BorderVisible and XYDiagramPaneBase.BorderColor properties. For example, the following chart shows the pane's border color set to Red.
To customize the pane's shadow, use the XYDiagramPaneBase.Shadow property.
The image below shows a gray pane with a shadow applied.