I did follow the spreadsheetfetchertask but it still shows the
percentages that was why I wonder if its a bug since I am sending the
intent through another app..
When I add the intent extra for Intent.ExtraTitle or the axes labels
it works so I went to see the source for the timechartactivity...
it seems that the intentextra for the format string is returning null
and I read that if the pendingintent was used, it must use the
oncompletelistener before the intent extras can reach the activity and
not produce a null value...
On Apr 27, 1:01 pm, Karl Ostmo <
kos...@gmail.com> wrote:
> > btw, for series colours what is the format of the int[]? I tried
>
> > i.putExtra(ChartSchema.EXTRA_SERIES_COLOURS, new int[] {255,250,250});
>
> > but it did not work...
>
> This was an unimplemented feature, but I have just added it and uploaded a
> new version to the Market. It should work now, but make sure that your
> colors are 32-bit integers. Seehttp://
developer.android.com/reference/android/graphics/Color.html
>
> I tried this:
>
> > Intent i = new Intent(Intent.ACTION_VIEW, ChartProvider.BASE_URI);
>
> > i.putExtra("com.googlecode.chartdroid.intent.extra.FORMAT_STRING_Y", "$
> > %.2f");
> > startActivity(i);
>
> > but it did not work as well... am i doing something wrong?
>
> There is a working example of what you want in this file:
http://code.google.com/p/chartdroid/source/browse/trunk/market_sales/...
>
> If you run the Market Sales Plotter app you will see that it formats the
> y-axis labels with a dollar sign. In your case, is it still formatting the
> labels with a percent sign, or is the chart failing to launch altogether?
>
> Karl
>