Stacked bar chart
SQL source code for this example:
DRAW BARCHART WITH
ORIENTATION HORIZONTAL
STACKED
AXIS LEFT
AXIS BOTTOM
LEGEND BOTTOM RIGHT INSIDE;
SELECT year AS series, isocode AS x, gdp AS y
FROM gdp_per_capita
WHERE year = "2010" OR year = '2009' or year = '2008'
LIMIT 20 OFFSET 40;
DRAW BARCHART WITH
ORIENTATION HORIZONTAL
STACKED
AXIS LEFT
AXIS BOTTOM
LEGEND BOTTOM RIGHT INSIDE;
SELECT year AS series, isocode AS x, gdp AS y
FROM gdp_per_capita
WHERE year = "2010" OR year = '2009' or year = '2008'
LIMIT 20 OFFSET 40;