@@ -192,7 +192,7 @@ module.exports = function(root, styledData, layout, callbacks) {
192
192
. append ( 'pattern' )
193
193
. attr ( 'id' , 'filterBarPattern' )
194
194
. attr ( 'width' , function ( d ) { return d . model . brushCaptureWidth ; } )
195
- . attr ( 'height' , function ( d ) { return d . model . height } )
195
+ . attr ( 'height' , function ( d ) { return d . model . height ; } )
196
196
. attr ( 'x' , function ( d ) { return - d . model . brushVisibleWidth ; } )
197
197
. attr ( 'patternUnits' , 'userSpaceOnUse' ) ;
198
198
@@ -202,8 +202,8 @@ module.exports = function(root, styledData, layout, callbacks) {
202
202
filterBarPatternGlyph . enter ( )
203
203
. append ( 'rect' )
204
204
. attr ( 'shape-rendering' , 'crispEdges' )
205
- . attr ( 'width' , function ( d ) { return d . model . brushVisibleWidth } )
206
- . attr ( 'height' , function ( d ) { return d . model . height } )
205
+ . attr ( 'width' , function ( d ) { return d . model . brushVisibleWidth ; } )
206
+ . attr ( 'height' , function ( d ) { return d . model . height ; } )
207
207
. attr ( 'x' , function ( d ) { return d . model . brushVisibleWidth / 2 ; } )
208
208
. attr ( 'fill' , function ( d ) { return d . model . filterBar . fillcolor ; } )
209
209
. attr ( 'fill-opacity' , function ( d ) { return d . model . filterBar . fillopacity ; } )
@@ -246,7 +246,7 @@ module.exports = function(root, styledData, layout, callbacks) {
246
246
. style ( 'transform' , 'translate(' + ( - overdrag ) + 'px, 0)' )
247
247
. style ( 'float' , 'left' )
248
248
. style ( 'clear' , 'both' )
249
- . style ( 'position' , function ( d , i ) { return i > 0 ? 'absolute' : 'static' } )
249
+ . style ( 'position' , function ( d , i ) { return i > 0 ? 'absolute' : 'static' ; } )
250
250
. style ( 'left' , 0 )
251
251
. style ( 'padding' , function ( d ) { return d . viewModel . model . padding + 'px' ; } )
252
252
. style ( 'overflow' , 'visible' )
@@ -498,7 +498,7 @@ module.exports = function(root, styledData, layout, callbacks) {
498
498
axisBrushEnter
499
499
. selectAll ( 'rect.extent' )
500
500
. attr ( 'fill' , 'url(#filterBarPattern)' )
501
- . filter ( function ( d ) { return d . filter [ 0 ] === 0 && d . filter [ 1 ] === 1 } )
501
+ . filter ( function ( d ) { return d . filter [ 0 ] === 0 && d . filter [ 1 ] === 1 ; } )
502
502
. attr ( 'y' , - 100 ) ; // // zero-size rectangle pointer issue workaround
503
503
504
504
axisBrushEnter
@@ -581,7 +581,7 @@ module.exports = function(root, styledData, layout, callbacks) {
581
581
} ;
582
582
} )
583
583
} ) ;
584
- } ;
584
+ }
585
585
}
586
586
587
587
return tweakables ;
0 commit comments