Javascript ChartsBackground
javascript logo

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

Background Fill

To change the colour of the chart background, simply provide a colour string value for the background.fill property.

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

API Reference

Properties available on the AgChartBackground interface.

visible
Typeboolean
fill
TypeCssColor