We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa6a05 commit cccf7e8Copy full SHA for cccf7e8
example/DrillDown.js
@@ -32,10 +32,6 @@ class DrillDown extends React.Component {
32
plotClicked(e) {
33
//Index of the data plot that is clicked.
34
let index = e.data.index;
35
- if(index <= this.state.mappedIds.length) {
36
- console.log('OUT OF BOUND');
37
- return;
38
- }
39
//Index of Drilled Down Chart.
40
let plotPosition = this.state.mappedIds[index];
41
example/Example.js
@@ -123,7 +123,7 @@ class Example extends React.Component {
123
super(props)
124
125
this.state = {
126
- mappedIds: [1],
+ mappedIds: [0],
127
dataSource: {
128
chart: {
129
caption: 'PARENT',
0 commit comments