Results:
Loading...

React ChartsBackground

This section describes how to change the background of a chart.

Background Fill

background.fill property accepts a colour string value.

background: {
    fill: 'rgb(63, 127, 255)',
},

API Reference

Properties available on the AgChartBackground interface.

visible
boolean
Whether or not the background should be visible.
fill
CssColor
Colour of the chart background.
fill: CssColor;

type CssColor = string