@@ -13,7 +13,7 @@ import { makeStyles } from '@material-ui/core/styles';
13
13
import Select from '@material-ui/core/Select' ;
14
14
import MenuItem from '@material-ui/core/MenuItem' ;
15
15
import FormControl from '@material-ui/core/FormControl' ;
16
- import { onHover , onHoverExit , deleteSeries , setCurrentTabInApp } from '../../actions/actions' ;
16
+ import { onHover , onHoverExit , deleteSeries , setCurrentTabInApp } from '../../../ actions/actions' ;
17
17
import { useStoreContext } from '../../store' ;
18
18
19
19
/* TYPESCRIPT */
@@ -53,7 +53,7 @@ interface BarGraphComparisonProps {
53
53
setSeries : ( ) => void ,
54
54
series : unknown ,
55
55
setAction : ( ) => void ,
56
- }
56
+ }
57
57
58
58
/* DEFAULTS */
59
59
const margin = {
@@ -293,7 +293,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
293
293
</ div >
294
294
295
295
< svg ref = { containerRef } width = { width } height = { height } >
296
- { }
296
+ { }
297
297
< rect
298
298
x = { 0 }
299
299
y = { 0 }
@@ -341,8 +341,8 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
341
341
height = { bar . height === 0 ? null : bar . height }
342
342
width = { bar . width }
343
343
fill = { bar . color }
344
- /* TIP TOOL EVENT HANDLERS */
345
- // Hides tool tip once cursor moves off the current rect
344
+ /* TIP TOOL EVENT HANDLERS */
345
+ // Hides tool tip once cursor moves off the current rect
346
346
onMouseLeave = { ( ) => {
347
347
dispatch (
348
348
onHoverExit ( data . componentData [ bar . key ] . rtid ) ,
@@ -351,7 +351,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
351
351
} , 300 ) ) ,
352
352
) ;
353
353
} }
354
- // Cursor position in window updates position of the tool tip
354
+ // Cursor position in window updates position of the tool tip
355
355
onMouseMove = { event => {
356
356
dispatch ( onHover ( data . componentData [ bar . key ] . rtid ) ) ;
357
357
if ( tooltipTimeout ) clearTimeout ( tooltipTimeout ) ;
@@ -399,8 +399,8 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
399
399
height = { bar . height === 0 ? null : bar . height }
400
400
width = { bar . width }
401
401
fill = { bar . color }
402
- /* TIP TOOL EVENT HANDLERS */
403
- // Hides tool tip once cursor moves off the current rect
402
+ /* TIP TOOL EVENT HANDLERS */
403
+ // Hides tool tip once cursor moves off the current rect
404
404
onMouseLeave = { ( ) => {
405
405
dispatch (
406
406
onHoverExit ( data . componentData [ bar . key ] . rtid ) ,
@@ -409,7 +409,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
409
409
} , 300 ) ) ,
410
410
) ;
411
411
} }
412
- // Cursor position in window updates position of the tool tip
412
+ // Cursor position in window updates position of the tool tip
413
413
onMouseMove = { event => {
414
414
dispatch ( onHover ( data . componentData [ bar . key ] . rtid ) ) ;
415
415
if ( tooltipTimeout ) clearTimeout ( tooltipTimeout ) ;
0 commit comments