Using GANTT chart to display multi-segmented columns/bars

This demo shows how we can simulate multi-segment columns using GANTT chart. This specific chart type is good because you can specify any number colored segments without the need to define graphs for each of them.

Since GANTT chart is always horizontal by default, we also use the following trick to rotate it before it renders:

AmCharts.addInitHandler(function(chart) {
  chart.rotate = false;
}, ["gantt"]);