src/charts/brush.js
function buildBrush() {
            brush = d3Brush.brushX()
                .extent([[0, 0], [chartWidth, chartHeight]])
                .on('brush', handleBrushStart)
                .on('end', handleBrushEnd);
        }
function buildBrush() {
            brush = d3Brush.brushX()
                .extent([[0, 0], [chartWidth, chartHeight]])
                .on('brush', handleBrushStart)
                .on('end', handleBrushEnd);
        }
function buildBrush ( ) { brush = d3Brush . brushX ( ) . extent ( [ [ 0 , 0 ] , [ chartWidth , chartHeight ] ] ) . on ( 'brush' , handleBrushStart ) . on ( 'end' , handleBrushEnd ) ; }
Creates the brush element and attaches a listener
@return {void}
Creates the brush element and attaches a listener