You know that the page that you have linked to has a source code tab called
ChartView.java
? The answer to your question is right there!
UPDATE: Reading the code on this page, what determines a Stacked versus regular chart is this line:
horizontalBarModel.setStacked(true);