Pages

Add a border and background to a chart in Pages on Mac
You can add a border and a background color to any 2D bar, column, area, or scatter chart.

Go to the Pages app
on your Mac.
Open a document, click the chart, then click the Chart tab in the Format
sidebar
In the Chart Options section of the sidebar, select the Border checkbox.
To add a background color to the chart or choose a style and color for the border, click the disclosure arrow next to Background & Border Style, then use the controls in that section.