Aks4125
Aks4125

Reputation: 5720

Android Movable Line Chart

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.

Upvotes: 1

Views: 2192

Answers (3)

Aks4125
Aks4125

Reputation: 5720

A library is now available with the same feature mentioned.

source

Achieved same functionality with this library with minor modification.

Upvotes: -1

ugur
ugur

Reputation: 3654

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

Upvotes: 1

timbillstrom
timbillstrom

Reputation: 1176

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

Upvotes: 3

Related Questions