drawHorizontalLine(svg, scale) {

    if(this.customExtent.length && this.customExtent[0] < 0 && this.customExtent[1] > 0) {
      this.isVertical() ?
        svg.select("line")
        .attr("x1", 0)
        .attr("y1", scale.y(0))
        .attr("x2", this.getAvailableWidth())
        .attr("y2", scale.y(0))
      :
        svg.select("line")
        .attr("x1", scale.x(0))
        .attr("y1", 0)
        .attr("x2", scale.x(0))
        .attr("y2", this.getAvailableHeight())
    }
  }
// draw line from which bars will be draw
draw line from which bars will be draw
draw line from which bars will be draw
drawHorizontalLine(svg, scale) {
    if(this.customExtent.length && this.customExtent[0] < 0 && this.customExtent[1] > 0) {
      this.isVertical() ?
        svg.select("line")
        .attr("x1", 0)
        .attr("y1", scale.y(0))
        .attr("x2", this.getAvailableWidth())
        .attr("y2", scale.y(0))
      :
        svg.select("line")
        .attr("x1", scale.x(0))
        .attr("y1", 0)
        .attr("x2", scale.x(0))
        .attr("y2", this.getAvailableHeight())
    }
  }
drawHorizontalLine ( svg , scale ) { if ( this . customExtent . length && this . customExtent [ 0 ] < 0 && this . customExtent [ 1 ] > 0 ) { this . isVertical ( ) ? svg . select ( "line" ) . attr ( "x1" , 0 ) . attr ( "y1" , scale . y ( 0 ) ) . attr ( "x2" , this . getAvailableWidth ( ) ) . attr ( "y2" , scale . y ( 0 ) ) : svg . select ( "line" ) . attr ( "x1" , scale . x ( 0 ) ) . attr ( "y1" , 0 ) . attr ( "x2" , scale . x ( 0 ) ) . attr ( "y2" , this . getAvailableHeight ( ) ) } }
draw line from which bars will be draw
draw line from which bars will be draw