Thanks Karl.
Now I have encountered another issue.
I am able to fetch data and series but not axes.
I get the toast, "There are no series".
I wanted to display multi timeline series on the chart.
When debugged the query() method of ContentProvider, I am able to get
Series and Data but,
control doesnt go to Axes condition after Series condition
execution.In the logs, I can see both Series and Data are fetched
correctly.
After that control doesnt go to Axes condition to fetch axes data.I
see following error in the logs.
01-30 22:49:21.124: INFO/System.out(340): Series:[Systolic, Pulse,
Diastolic]
01-30 22:49:21.224: ERROR/ChartDroid(363): Error in chart; finishing
activity. Chart: null
I have passed the data in the format what chartdroid expects.But still
getting this error.
Followed the examples provided in the chartdroid sample applications.
But still couldnt trace what is causing the issue.
Need your help in removing this error.
--
Thanks,
Avinash Mohan
On Jan 8, 6:39 pm, Karl Ostmo <
kos...@gmail.com> wrote:
> In the ChartDroid Demo application, the user can populate a database with
> arbitrary values. Here is the Content Provider code that is used in
> plotting those values:
>
>
http://code.google.com/p/chartdroid/source/browse/trunk/client/src/co...
>
> Note that in the database, I have named the columns what ChartDroid expects
> to see (e.g.
http://code.google.com/p/chartdroid/source/browse/trunk/client/src/co...).
> However, you may create a VIEW in SQLite that translates your own column
> names to those column names ChartDroid expects.
>
> <
http://code.google.com/p/chartdroid/source/browse/trunk/client/src/co...>