@@ -119,7 +119,7 @@ const thirdDataSource = {
119119 } ]
120120} ;
121121
122- const mappedIdsIntegers = [ 0 , 1 , 2 , 3 , null ] ;
122+ const mappedIdsIntegers = [ 0 , 1 , 2 , 3 , null ] ; // Index = plotPosition, array[Index] = childPosition
123123
124124const mappedIdsObjects = [
125125 {
@@ -181,7 +181,7 @@ class Example extends React.Component {
181181 width = '600'
182182 height = '400'
183183 dataFormat = "JSON"
184- defaultOverlayBtnSettings = { { // This object holds the style of the overlay back button.
184+ defaultOverlayBtnSettings = { { // This object holds the configuration of the default overlay button.
185185 message : 'ESCAPE' ,
186186 color : '#FFFFFF' ,
187187 backgroundColor : '#512A44' ,
@@ -198,13 +198,12 @@ class Example extends React.Component {
198198 width = '600'
199199 height = '400'
200200 dataFormat = "JSON"
201- // defaultOverlayBtnSettings={{ // This object holds the style of the overlay back button.
202- // message: 'REVERT',
203- // fontSize: '14px',
204- // placement: 'top-right',
205- // margin: '10px'
206- // }}
207- customOverlayBtnStyle = { { backgroundColor : 'red' , color : 'white' , padding : 8 , fontSize : 16 } }
201+ customOverlayBtnStyle = { { // This object holds the css for custom overlay button
202+ backgroundColor : 'red' ,
203+ color : 'white' ,
204+ padding : 8 ,
205+ fontSize : 16
206+ } }
208207 dataSource = { zerothDataScource }
209208 mappedIds = { [ 0 , 1 , 2 ] } >
210209 < DrillDown
@@ -283,7 +282,7 @@ class Example extends React.Component {
283282 dataFormat = "JSON"
284283 dataSource = { thirdDataSource } />
285284 </ DrillDown >
286- < div style = { { height : 300 , backgroundColor : 'red' , width : 400 } } > </ div >
285+ < div style = { { height : 300 , width : 400 } } > </ div >
287286 </ div >
288287 )
289288 }
0 commit comments