how to display graph in android using MySQL database

后端 未结 2 1506
再見小時候
再見小時候 2021-01-07 15:04

I can\'t get data from MySQL database for graphics. I found an example code for create graph but I want to put x axis data and y axis data from database

My example c

2条回答
  •  灰色年华
    2021-01-07 15:22

    Yes.It will be possible. you can follow my example

    Bar Chart in Android With out any Built in jars. Here you can get data from database and try to set the results in the arrays(Say grossSal,netSal,datelabel arrays)

    Here is the simple logic with no jars needed. you can implement bar charts with your own coding from this example

提交回复
热议问题