@@ -182,7 +182,7 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
182
182
183
183
var mousemoveInterval = null
184
184
185
- /* render react tooltip component */
185
+ /* render react tooltip component */
186
186
ReactDOM . unmountComponentAtNode ( document . getElementById ( 'chart-tooltip' ) )
187
187
ReactDOM . render ( < Tooltip popMethod = 'click' >
188
188
< div className = 'tooltip-target' > </ div >
@@ -195,7 +195,7 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
195
195
</ div >
196
196
</ Tooltip >
197
197
, document . getElementById ( 'chart-tooltip' ) )
198
-
198
+
199
199
$scope . isFocused = false
200
200
svg . selectAll ( 'rect.hover' )
201
201
. data ( ranges )
@@ -218,8 +218,8 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
218
218
$scope . highlightedRating = d . start
219
219
$scope . displayCoders = true
220
220
$scope . numCoders = d . number
221
-
222
- /* update tooltip location on mouseover, feature currently not inbuilt in react tooltip component */
221
+
222
+ /* update tooltip location on mouseover, feature currently not inbuilt in react tooltip component */
223
223
d3 . select ( '#chart-tooltip' )
224
224
. style ( 'left' , ( d3 . event . pageX - 4 ) + 'px' )
225
225
. style ( 'top' , ( d3 . event . pageY - 4 ) + 'px' )
@@ -240,12 +240,12 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
240
240
$scope . $digest ( )
241
241
} )
242
242
. on ( 'mousemove' , function ( d ) {
243
-
244
- /* update tooltip on mousemove, using interval of 50ms to improve performance */
245
- window . clearTimeout ( mousemoveInterval )
243
+
244
+ /* update tooltip on mousemove, using interval of 50ms to improve performance */
245
+ window . clearTimeout ( mousemoveInterval )
246
246
var left = ( d3 . event . pageX - 4 )
247
247
var top = ( d3 . event . pageY - 4 )
248
-
248
+
249
249
mousemoveInterval = window . setTimeout ( function ( ) {
250
250
d3 . select ( '#chart-tooltip' )
251
251
. style ( 'left' , left + 'px' )
0 commit comments