private BubbleChartData generateBubbleChartData() {
            int numBubbles = 10;

            List<BubbleValue> values = new ArrayList<BubbleValue>();
            for (int i = 0; i < numBubbles; ++i) {
                BubbleValue value = new BubbleValue(i, (float) Math.random() * 100, (float) Math.random() * 1000);
                value.setColor(ChartUtils.pickColor());
                values.add(value);
            }

            BubbleChartData data = new BubbleChartData(values);

            data.setAxisXBottom(new Axis().setName("Axis X"));
            data.setAxisYLeft(new Axis().setName("Axis Y").setHasLines(true));
            return data;
        }
Note: Chart is within ViewPager so enable container scroll mode. *
hellocharts-samples/src/lecho/lib/hellocharts/samples/ViewPagerChartsActivity.java