Contents
- Properties
Having trouble getting help?
Contact Support
Contact Support
ChartAreaModel
23 Sep 20251 minute to read
Interface for a class ChartArea
Properties
background string
The background property accepts both hex color codes and rgba color values for customizing the chart area’s background.
backgroundImage string
The background image of the chart area, specified as a URL or local image path.
border BorderModel
Options to customize the border of the chart area.
margin MarginModel
Defines the margin options for the chart area, specifying the space between the chart container and the chart area.
The margin object can customize the left, right, top, and bottom margins.
opacity number
The opacity property controls the transparency of the background of the chart area.
width string
Defines the width of the chart area element.
Accepts values in percentage or pixels.