Gridlines
You can turn the x- and y- gridlines on or off to further customise the look of your plots. Currently only major gridlines can be altered; minor gridlines have not yet been implemented.
Set the major attribute inside your axis declaration to false to remove gridlines for that axis.
Gridless Plot
<xyPlot name="plot"> <title>Gridless Plot</title> <axis dim="x" major="false"> <title>Time</title> </axis> <axis dim="y" major="false"> <title>Amplitude</title> </axis> <series> <data>0 0; 1 4; 2 2; 3 5; 4 3</data> </series> </xyPlot>
Only Y-Axis Gridlines
<xyPlot name="plot"> <title>X Gridless Plot</title> <axis dim="x" major="false"> <title>Time</title> </axis> <axis dim="y"> <title>Amplitude</title> </axis> <series> <data>0 0; 1 4; 2 2; 3 5; 4 3</data> </series> </xyPlot>
Only X-Axis Gridlines
<xyPlot name="plot"> <title>Y Gridless Plot</title> <axis dim="x"> <title>Time</title> </axis> <axis dim="y" major="false"> <title>Amplitude</title> </axis> <series> <data>0 0; 1 4; 2 2; 3 5; 4 3</data> </series> </xyPlot>