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. JS $("#container").ejChart({ chartArea: { border: { color: 'red', width: 3, opacity: 0.3 }, background: 'lightblue', }, //… //… });
JS Playground Link: Chart Area The following screenshot illustrates the output. Figure 1: Customized Chart |
This page will automatically be redirected to the sign-in page in 10 seconds.