Configure gridline style

Refer to the following example code to see how to configure gridlines, how to show or hide the major and minor gridlines of each axis, and how to configure different properties of the gridlines, such as the line style, color, and weight, etc.