Configure chart area format

Refer to the following example code to see how to configure formats of chart area.