Bars and Lines

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 0 7.14 14.3 21.4 28.6 35.7 42.9 50.0 Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan 0 10.0 20.0 30.0 40.0 50.0 60.0 70.0

SQL source code for this example:

DRAW BARCHART WITH
    ORIENTATION VERTICAL
    YDOMAIN 0, 50
    AXIS RIGHT
    AXIS TOP;

SELECT city AS series, month AS x, temperature AS y
    FROM city_temperatures
    WHERE city = "London";

DRAW LINECHART WITH
    YDOMAIN 0, 70
    AXIS BOTTOM
    AXIS LEFT;

SELECT city AS series, month AS x, temperature * 2 AS y, "circle" as pointstyle, "color2" as color
    FROM city_temperatures
    WHERE city = "Tokyo";