Disable Donut Chart

8 views
Skip to first unread message

DiogoMts

unread,
Oct 14, 2010, 10:54:18 AM10/14/10
to ChartDroid Users
Hi All,

Is there a nice way for disabling the Donut chart from the "complete
action using" view selection?

BTW, this is really cool!

Thanks
Diogo

Karl Ostmo

unread,
Oct 14, 2010, 11:46:18 AM10/14/10
to chartdro...@googlegroups.com
Assuming that you want a radial chart (i.e. you may have used intent.addCategory(IntentConstants.CATEGORY_PIE_CHART)), instead of having both the pie chart and the donut chart pop up as options, you can use an "explicit" intent to force the pie chart to be used.  Use the following:

intent.setClassName("com.googlecode.chartdroid", "org.achartengine.activity.PieChartActivity");
Karl

DiogoMts

unread,
Oct 14, 2010, 12:04:31 PM10/14/10
to ChartDroid Users
Cool. Is it possible to limit the choice of charts to three?

On Oct 14, 4:46 pm, Karl Ostmo <kos...@gmail.com> wrote:
> Assuming that you want a radial chart (i.e. you may have
> used intent.addCategory(IntentConstants.CATEGORY_PIE_CHART)), instead of
> having both the pie chart and the donut chart pop up as options, you can use
> an "explicit" intent to force the pie chart to be used.  Use the following:
>
> intent.setClassName("com.googlecode.chartdroid",
> "org.achartengine.activity.PieChartActivity");
>  Karl
>

Karl Ostmo

unread,
Oct 14, 2010, 12:19:41 PM10/14/10
to chartdro...@googlegroups.com
Which three charts were you thinking of?  For new combinations of chart choices, I would have to create new Intent categories.  If the combination sounds logical, I will consider it.

Karl

Diogo Pires de Matos

unread,
Oct 19, 2010, 11:58:56 AM10/19/10
to chartdro...@googlegroups.com
Hi Karl,

Thanks for your reply.

I guess it would be a nice feature to be able to define a group of charts for the user to choose from. But this is just me being picky :)

Diogo
Reply all
Reply to author
Forward
0 new messages