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

LineChart: useInteractiveGuideline disables elementClick #466

Closed
kentosi opened this issue Mar 7, 2014 · 4 comments
Closed

LineChart: useInteractiveGuideline disables elementClick #466

kentosi opened this issue Mar 7, 2014 · 4 comments
Labels

Comments

@kentosi
Copy link

kentosi commented Mar 7, 2014

As the title suggests, I can't do the following:

    var chart = nv.models.lineChart();
    chart.lines.dispatch.on('elementClick', function(e) {
        alert("You've clicked on " + e.series.key + " - " + e.point.x);
    });
    chart.useInteractiveGuideline(true);

The line chart.useInteractiveGuideline(true); takes precedence and the elementClick no longer works.

@facultymatt
Copy link

👍 I just noticed this too. Seems to effect more then just elementClick...

@iamthemovie
Copy link

Yes, this is an issue for us too.

@iamthemovie
Copy link

Just saying that @AndrewHathway has got a fix

@liquidpele
Copy link
Contributor

Fixed in my fork.

liquidpele@8598563

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

Successfully merging a pull request may close this issue.

5 participants