c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.34k stars 1.39k forks source link

Ondrag Event Requested! #954

Open longd3 opened 9 years ago

longd3 commented 9 years ago

I am labeling data on the chart by using the onclick event and the arguments inside it. It's awesome for single point labeling; but when I need to do a massive labelling job, I need to specify an offset range inside that and map to the original data set to get all the information I need.

I wonder if it is feasible to add an ondrag event to allow user to handle event over a range of data points. Its arguments will be an array of the onclick arguments.

Thank you for all the hardwork Long

masayuki0812 commented 9 years ago

Thanks for the request. Yeah, I implemented this functionality before actually, but removed because I was not sure how much this is needed. Please let me mark as enhancement at this moment. I'll start working on this when we know there is enough demand. Btw, I think we could do that by extending c3, so could you ask in Google Group as well? Someone might know the solution already.

unstephenk commented 6 years ago

I would like to see this as well.