Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On drag events #1367

Closed
wants to merge 2 commits into from
Closed

Conversation

GermainBergeron
Copy link
Contributor

fixes #1366

@borisnadion
Copy link

any insights when this will be merged?

@aendra-rininsland
Copy link
Member

It doesn't seem like there's much interest in either this or #1366. If you provide a better use case and/or there's more appetite for it, I'll reopen.

Closing for now.

@unstephenk
Copy link

unstephenk commented Feb 12, 2018

Would love to have this feature. Please let us know how to use it.

Copy link

@unstephenk unstephenk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please Merge.

@IceCreamYou
Copy link

IceCreamYou commented Oct 22, 2019

It appears this code used to be part of the library but was removed in #215. Here is a workaround:

// Override C3's dragend function so we can do something when the user is done selecting multiple points or dragging to zoom
const dragend = c3.chart.internal.fn.dragend;
c3.chart.internal.fn.dragend = function() {
    dragend.apply(this, arguments);
    // Do whatever you want to do on dragend here
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ondragstart and ondragend events
6 participants