});
CartesianChart chart3 = Y.newChart(chartConfig).cast().cast();
chart3.boundingBox().getNode("parentNode").getNode("parentNode").
append("<p>the same as before but type <b>bar</b> and bottom legend and and custom bar colors.</p>");
chartConfig.type(ChartBase.TYPE_MARKERSERIES);
chartConfig.render("#chart4");
chartConfig.legend(ChartLegendConfig.create().position("bottom"));
CartesianChart chart4 = Y.newChart(chartConfig).cast().cast();
chart4.boundingBox().getNode("parentNode").getNode("parentNode").
append("<p>the same as before but type <b>markseries</b></p>");