This is a brief introduction to using the ShinobiChart component. We will take you through a series of simple steps introducing the key features of the shinobicharts library.
Firstly we will look at getting a line chart onto a page and then follow on by looking at how to apply basic styling to the chart elements. The end result of this little tutorial will be a chart that looks something like this:
For this guide we will assume that you are using the Android Studio IDE. If you wish to use the Eclipse IDE, the process is very similar, and the required code will be the same. It is simply attributes such as where menu items are located within the IDE, which will differ.
We recommend running the Quick Start project, and the other sample projects, on a physical Android device. This way you will be able to get a better feel of all the touch-based interactions. That said, it is possible to run the samples on the Android Emulator.
shinobicharts uses OpenGL ES2; support for this in the Android Emulator is currently experimental so be alert for incompatibilities and errors. Simply ticking the Use Host GPU box in the configuration of your Android Virtual Device may be all that is needed. More information is available on the Android Developer site: http://developer.android.com/tools/devices/emulator.html. In particular, the Configuring Graphics Acceleration and Configuring Virtual Machine Acceleration sections may provide some helpful guidance.