thekeenant / fcharts

:bar_chart: Create beautiful, responsive, animated charts using a simple and intuitive API.
https://pub.dartlang.org/packages/fcharts
MIT License
326 stars 46 forks source link

Interactive charts #25

Open thekeenant opened 5 years ago

thekeenant commented 5 years ago

Callbacks for when user taps a data point.

Minimal support is available right now.

BANG88 commented 5 years ago

Please support display a label when user taps a data point.

gadfly361 commented 5 years ago

@thekeenant Thanks for the library!

Would it be possible to share the source code for the 'Touch Demo' gif found in the README?

thekeenant commented 5 years ago

Unfortunately I did a bit of a overhaul when line charts were changed to support multiple lines. When that happened, touch callbacks were not added back. I am looking into how that API should look, so any suggestions or pull requests are much appreciated.

I removed the gif example from the README for now since that is misleading.

gadfly361 commented 5 years ago

@thekeenant Thanks for the response!

Could you point me to a commit hash when fcharts was in a state where the touch demo was working (or at the very least when the api previously supported touch callbacks). I'd be interested to take a look through the source :)

thekeenant commented 5 years ago

@gadfly361 Sure thing! Seems like the demo was added and working back in 6788dc17ff6002c36789ffab8736d5e6cffacbe5.

diegoveloper commented 5 years ago

Nice package !!, any update about this ? It's an interesting feature

PrashantGauravSingh commented 5 years ago

@thekeenant Touch is not working.Is it available with this plugin or removed completely.Is there any way to enable the data point touch fuctionality.