s0ld13r
s0ld13r

Reputation: 785

Multiple GraphView scroll

I have to place few separate live charts in Activity, that will have a common X axis. I want to implement the next functionality: when I scroll one of the charts the other will be scrolled too. How can I implement this ? Thanks a lot, and excuse me for my bad English.

Upvotes: 0

Views: 537

Answers (1)

appsthatmatter
appsthatmatter

Reputation: 6417

for this you have to modify a little bit the source code of graphview.

take a look into the touch listener and at this point you can call set viewport of the other graphs.

https://github.com/jjoe64/GraphView/blob/master/src/com/jjoe64/graphview/GraphView.java#L149

Upvotes: 2

Related Questions