Android Movable Line Chart - android

I want to implement draggable line chart for android.
• This is exactly i want to
I have referred many charts library like mpandroid, android-plot, hz-graphview among all line charts are static.
P.S I'm not asking anyone to implement this all i need is guidelines or any open source library will be appreciated.

I would recommend you to start with trying out this sample from Android developers-site to get started with drawing in canvas if you haven't done so before. Then start to modify the sample to use onTouchEvent for dragging the objects, and take it from there.
Read more: Drag Shape On Canvas in android

It seems MPAndroidChart has dragging feature. Check it out. BTW I haven't tried it yet.
https://github.com/PhilJay/MPAndroidChart/blob/master/README.md

A library is now available with the same feature mentioned.
source
Achieved same functionality with this library with minor modification.

Related

How to draw Line chart in monoandroid(xamarin) with shinobi chart library

I am using "shinobicontrols" (link given bellow) for my mono android application(xamarin).so, now i want to draw line chart for two data field one for "ask" price and one for "bid" price. so, any one can help me?
thanks in advance ....
http://www.shinobicontrols.com/android/shinobicharts/price-plans
The best place to ask for help relating to Shinobi Charts is their forums, there you will get help from people who are familiar with the libraries and the devs themselves.
It seems like you are just getting started, so the best place to begin would be the user guide, available here:
http://www.shinobicontrols.com/docs/ShinobiControls/ShinobiChartsAndroid/1.3.5/Premium/Normal/user-guide/index.html
This will take you through the steps needed to create and render a chart, there are also more detailed API documentation for the Xamarin bindings, for example for a Line Series (which is what it sounds like you are wanting to use):
http://www.shinobicontrols.com/docs/ShinobiControls/ShinobiChartsAndroid/1.3.5/Premium/MonoTouch/Com.ShinobiControls.Charts/LineSeries.html
Finally if you are still having problems feel free to post on the forums:
http://www.shinobicontrols.com/forum/shinobicontrols
Hope this helps, if you are still struggling just let us know what we can do to help.
Craig.
(Full disclosure: I work for ShinobiControls)

Any idea on the simplest graphing technique?

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.

How to do "android drawing pattern to unlock" using COCOS2D API

I want to do a task which is very similar to "Android Drawing Pattern to Unlock", where in there will be circular images in a GridView and straight lines connecting the images will be drawn dynamically based on user touch. Please suggest me preferably with code snippets.TIA.
Actully, you didn't write your code into the question .so I think you are developing Android Application with COCOS2D first time.
Here is some awesome example links that may Help you to learn this.
1)COCOS2D Basic Game
2)COCOS2D MUltiplatform
If you want help regarding code please post your code here.

Graph drawing libraries in android

I want to draw a graph in my application.can any one tell me which is the best open source library used to draw a graph in android.I am confused.
achartengine library is very good,you can use it
link: http://code.google.com/p/achartengine/
Use MPAndroidChart.
Tried many libraries for the purpose.
Easiest to use and renders beautiful charts.
It turned out to be the best one.
I think you can give AChartEngine a try. It provides a demo application with a lot of useful code, it is open-source and free to use in any application.
Dan

How do I draw a line graph in Android?

I want to draw a line graph that updates in real time, similar to the graph we see in the Windows Task Manager when we want to take a look at CPU and memory usage over time.
Is there already a library designed for Android that will allow me to do this easily? Or will I have to write my own? (And if I do have to do this, how would I bring up some sort of canvas on an Android activity?)
I don't know of a library designed for this and my guess is you would have to draw it yourself.
This example in the API Demos project uses the built in sensors to draw a running graph on the canvas, looks like what your are trying to recreate, but replace the sensor input with a data feed or something.
Please have a look at AChartEngine. We use it in many Android projects and it's brilliant. It's free, it's still under development (new features) and the author is very helpfull.
http://www.achartengine.org/
Have you looked at http://www.artfulbits.com/products/android/aicharts.aspx? The library is rather large but it may work for you

Categories

Resources