crash of ChartDroid

15 views
Skip to first unread message

tgo

unread,
Feb 21, 2012, 7:54:15 AM2/21/12
to ChartDroid Users
The following leads to a crash of ChartDroid:

private void testChart() {
Intent i = new
Intent("com.googlecode.chartdroid.intent.action.PLOT");

i.addCategory("com.googlecode.chartdroid.intent.category.PIE_CHART");
int data[] = {10, 20, 70};
i.putExtra(Intent.EXTRA_TITLE, "Bla bla");
i.putExtra("com.googlecode.chartdroid.intent.extra.DATA",
data);
startActivity(i);
}

Whats wrong with that?

Is drawing charts like it seems to be done with version 1.x no longer
supported with 2.x?

Doing like http://www.openintents.org/en/node/291 suggested ..
Reply all
Reply to author
Forward
0 new messages