Configure series format
Refer to the following example code to see how to format a data series.