I am attempting to detect click on line chart datapoints.
Per this answer ( dc scatter plot binding onClick event ) I am attempting to use the pretransition event as described, but I must be missing something.
lineChart.on('pretransition', function() {
lineChart.selectAll('path.symbol').on('click', function(d) {
alert('value: ' + d);
//How would I pop-up the datapoint values?
});
});