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.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论