public void setSections(String[] titles) {
        for (int i = 0; i < titles.length; i++) {
            mSections[i].title = titles[i];
        }
    }
Hacked together barchart view for this demo. Please do not take this as an example of a good way to do things.
BenchmarkDemo/app/src/main/java/com/bluelinelabs/logansquare/demo/widget/BarChart.java