How to draw a dynamic line graph in Android ? - android

I've got a requirement for my application is to draw a line graph that can be changed on the fly. Eg. A heartbeat graph, a graph that represents the temperature etc..
How can I achieve this in a non-JS way on android?

I would check out these open source Android graph libraries:
http://code.google.com/p/chartdroid/wiki/Screenshots
http://androidplot.com/wiki/Home
http://code.google.com/p/achartengine/
Let us know which one worked for you.

Related

What do you call the stat breakdown when creating a new character on Ragnarok Online?

I remember when creating a character in RO, there is this hexagonal object where the different points are either str, agi, dex, etc and when you click any of the points the 3d shape in the middle would adjust itself to reflect the values.
I want to know what it is called so I can research properly how to implement it on Android and in a circular border with 5 points. If you have ant libs that can also implement this it would be greatly appreciated!
Attached is a sample image of the stat distribution
https://lh4.googleusercontent.com/proxy/2EEDcqZyzR9MXMTBikgCLWl62fnURjTjFeemrSbuzn_KjkdUMy_1mThurMBN4iiXXJV5RfzscgAS1xe0hQ3-MVY7fbwp9i8oIukJ_pmGaXvGAw=w360-h270-nc
These are named spider web chart or radar charts.
Here's a library: Github Link

Android: How to make a chart with a slider in Android?

I want to make a time series chart with a slider below that can help me select a segment from the chart. Basically I want the slider to allow me to get the chart values of its two ends.
An example for reference is the chart in Settings->Data Usage in Android 4.0 and above. (I'm adding a link to the image as I lack the required reputation http://i.stack.imgur.com/negbB.png )
Is there any library or method to achieve the same result?
I have 2 chart libraries for you. Hope for help.MPAndroidChartAndroid Charts

Colliding point of graph in android by using achartEngine in android

In my android application i have developed Graph functionality using aChartEngine android.Every thing fine .I need to draw a circle on the two time series colliding point in graph.Below i show the screen hot of the application.Please help me
One thing is sure here: AChartEngine won't provide you APIs for detecting the intersection point between the 2 lines.
If you can compute that yourself then you could add a third series with one single point that would render the intersection point. You will have to set a point style for this series such as you can see it better.

Adding Sin/Cos waves to a view

Is there a way to have a View in my XML file which builds graphs, based on different input from the user? All the graphs should be sin/cos waves....I have asked this on here before but the responses I received don't seem to cover Sin/Cos waves, just simple line graphs. I was told about achartengine, and Google Chart Tools.
You can download the AChartEngine demo here and give it a try.
There is this part of the demo that does exactly what you need.
If you already have the function for the data you're trying to display, you can use the Canvas to plot the data points you want:
Canvas Tutorial: http://www.tutorialforandroid.com/2009/06/drawing-with-canvas-in-android.html

How To draw A rangechart and candle stick chart in android in android?

i want to draw a rangechart and candle stick in android i search the whole web but cant find a solution the char is as shown below
please find a solution
This may help you ;). Screenshotz
this contain all type of charts.... sample code

Categories

Resources