Android Movable Line Chart

2k views Asked by At

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.

3

There are 3 answers

3
Aks4125 On BEST ANSWER

A library is now available with the same feature mentioned.

source

Achieved same functionality with this library with minor modification.

0
timbillstrom On

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

1
ugur On

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