开发者

I am trying to use Android Plot to display graphs in Android Activity, how can I display my data in the graph?

I am trying to use Android Plot to display graphs in Android Activity, how can I display my data and label x and y axis in the graph?

I would like to display Months on the X-Axis and Expenses in Y-Axis, and I would like to fetch data from database for the particular category like Food, Personal Expenses etc.. and fetch the graph according to the data.

Please refer the below website code .

http://androidplot.com/wiki/Quickstart

How can I pass List data which is fetched from database(SQLite) to the开发者_如何学Go variables?

Number[] series1Numbers = {1, 8, 5, 2, 7, 4};
Number[] series2Numbers = {4, 6, 3, 8, 2, 10};


fetch the data and store in an Int[] and then pass this int array wherever you are using series1Numbers and series2Numbers because the Number class is nothing but an int array.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜