The ChartArea
class provides properties to customize the appearance and layout of the chart’s display area.
string
The background
property accepts both hex color codes and rgba color values for customizing the chart area’s background.
Defaults to ‘transparent’
string
The background image of the chart area, specified as a URL or local image path.
Defaults to null
Options to customize the border of the chart area.
number
The opacity
property controls the transparency of the background of the chart area.
Defaults to 1
string
Defines the width of the chart area element.
Accepts values in percentage
or pixels
.
Defaults to null