Skip to content

Commit cccf7e8

Browse files
committed
Bug fix.
1 parent 6aa6a05 commit cccf7e8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

example/DrillDown.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ class DrillDown extends React.Component {
3232
plotClicked(e) {
3333
//Index of the data plot that is clicked.
3434
let index = e.data.index;
35-
if(index <= this.state.mappedIds.length) {
36-
console.log('OUT OF BOUND');
37-
return;
38-
}
3935
//Index of Drilled Down Chart.
4036
let plotPosition = this.state.mappedIds[index];
4137

example/Example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class Example extends React.Component {
123123
super(props)
124124

125125
this.state = {
126-
mappedIds: [1],
126+
mappedIds: [0],
127127
dataSource: {
128128
chart: {
129129
caption: 'PARENT',

0 commit comments

Comments
 (0)