I have currently some values in an array that I would like to display in a trend / graph ( don't know the appropriate english word)
I have been looking in Android source code to find the Gingerbread battery graph (https://android.googlesource.com/platform/packages/apps/Settings/+/gingerbread-release/src/com/android/settings/fuelgauge/BatteryHistoryCha开发者_开发技巧rt.java )
That solution seem to be a little bit overcomplicated and too much for a simple and nice graph.
Can someone point me a tutorial / code sample?
Try AChartEngine, it's really easy to understand and set up. Comes with plenty of examples too. http://www.achartengine.org/
精彩评论