Any idea on the simplest graphing technique? - android

I need to create a View that represents an x/y axis. I will read in 9 separate sets of (x,y) coordinates and will have 9 checkboxes, one for each set of data. When the user presses the check boxes the different waves will appear.
I have done research and found three possibilities: google charts, achartengine, and Canvas.
Does anyone have any ideas at what I could use for the simplest implementation of this?

I suggest you use AChartEngine rather than drawing to canvas.
You can download the library, javadocs and a demo application here.
The main advantage of using AChartEngine is that you won't need a data connection for rendering charts.
There are tutorials on youtube on getting started with AChartEngine. The library is free and open-source.

Related

Android live rendering strip chart library

I am trying to find the best charting library for my android app that receives live data from a data acquisition device (supports up to 800 samples per sec). I need to display a live, moving strip chart with some additional features like zooming in and out and tracing back the chart. I have looked at a few open source libraries like achartengine , afreechart, graphView but can't really seem to decide which one I should go with due to lack of enough examples and information. Any helpful links? Any recommendation?
I would suggest you try AChartEngine for your project. See this for some tutorials.
There is also another related thread on this.

androidplot: multiple y axes on the same graph

I am trying to display two sets of data on the same graph using androidplot; however, the data sets have very different scales. Whilst I could do some kind of normalisation of the data sets to make them compatible, I would rather plot them on multiple y axes - e.g.
http://www.cohort.com/2yaxes.gif
I can pretty much do this in achartengine, but I think that androidplot produces better looking graphs and provides a "better" (i.e. more android like) architecture.
Does anybody have any ideas:
a) if it can be done?
and, b) how to do it?
I'm guessing that by now the answer is a little late to be of use, but here it is in any case:
Androidplot does not provide any built-int support for displaying multiple log scales using different tick intervals simultaneously. As you already noted, the most popular workaround is normalisation, which forces you to use a shared tick interval. Having said that, one Androidplot user was able to find a workaround by overlaying data:
Here's a link to the discussion:
http://old.androidplot.com/forum/index.php/topic,116.0.html

Best charting tool used in android for representing data of your app

In my app, I have the following information which I want to display in the form of a graph.
Weight of a person.
Body temperature.
Date.
Now in my case, I want weight and body temperature on the y-axis parallel to each other and Date on the x-axis. So can anyone tell me which is the best android graph tool to do this? If possible with an example.
Regards
Anshuman
I have done quiet a research on this.If you are looking for drawing pie,histograms, bar or line graphs with 3D look I beliver ther is not such library available.You can use aichart for some 2D charts.Or final solution is you can start using the google Chart APIS , they are very good but they all are in web view and you need to have internet available on the phone/emulator.
There is a google group for achartengine, lots of good code is floating around there you can join it.
But I am afraid you will not get the 3D charting anywhere else.
if you thought of using the Adobe Flex (using AIR 3.1 or higher) you may get tremendous fullfillment of the requirement you are having in your head.You may get tempted to use it at once,but teh programming is in AS(Action Script)
have a look at the linked video, you will get teh idea of what I am talking about, but sadly you have to code in Action Script and not in Andorid PL.

graphical representation in android

I stumbled upon this site today and found it quite intriguing.. Some of these apps have really stunning display of data, especially the norton mobile utilities. I want to graphically represent the information in my android application. I have researched a lot about graph librarioes available for android and have used chartdroid and achartengine, but still am not satisfied with the end result.
Which is the best charting library for android available for free?
They are probably using custom views overrinding the onDraw method to plot lines, shapes and paths using the canvas or the surface of the view.
Have a look http://mindtherobot.com/blog/272/android-custom-ui-making-a-vintage-thermometer/

pie chart best api for android

I'm developing an android app and I need do implement a pie chart. I've searching for some alternatives but the APIs that I've found are a little limited in terms of animations and graph customization.
Does anyone knows the best way to implement a pie chart that can rotate when touched?
Thanks in advance.
I like Charts4j. You can use it to create a few kinds of pie charts. If you put the resulting drawables into a view you could probably figure out some way to interpret touch events to trigger rotate animation effects.

Categories

Resources