We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46be632 commit de08d56Copy full SHA for de08d56
src/lib/utils/ChartDataUtil.js
@@ -52,6 +52,7 @@ var ChartDataUtil = {
52
var eventCapture = this.getChildren(children, /EventCapture$/);
53
if (eventCapture.length > 1) throw new Error("only one EventCapture allowed");
54
if (eventCapture.length > 0) return eventCapture[0].props.mainChart;
55
+ if (eventCapture.length === 0) return this.getChildren(children, /Chart$/)[0].props.id;
56
},
57
getClosestItem(plotData, mouseXY, chartData) {
58
// console.log(chartData);
0 commit comments