LineChart: useInteractiveGuideline disables elementClick #466

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

Projects

None yet

5 participants

@kentosi
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.

@DavidSouther DavidSouther added the Bug label Mar 18, 2014
@facultymatt

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

@iamthemovie

Yes, this is an issue for us too.

@iamthemovie

Just saying that @andrewhathway has got a fix

@liquidpele
Member

Fixed in my fork.

liquidpele@8598563

@liquidpele liquidpele closed this Feb 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment