Category / Section
How to set background color for chart area?
1 min read
Essential Chart supports customizing chart area background and border using ChartArea property. By default chart area Background is set as “transparent”. To customize the chart area border color, width and opacity, you can use Border property of chart area. This is illustrated in the following code example.
ASP
<ej:Chart ID="container" runat="server"> <ChartArea Background="lightblue"><Border Color="red" Width="3" /></ChartArea> </ej:Chart>
The following screenshot illustrates the output.
Figure 1: Customized Chart