class_docstr: Histogram chart class
class_docstr_tok: ["Histogram","chart","class"]
docstr: Internal bar drawing function
docstr_tok: ["Internal","bar","drawing","function"]
code: def _bar(self, serie, parent, x0, x1, y, i, zero, secondary=False):
      """Internal bar drawing function"""
      x, y = self.view((x0, y))
      x1, _ = self.view((x1, y))
      width = x1 - x
      height = self.view.y(zero) - y
      series_margin = width * self._series_margin
      x += series_margin
      width -= 2 * series_margin
  
      r = serie.rounded_bars * 1 if serie.rounded_bars else 0
      alter(
          self.svg.transposable_node(
              parent,
              "rect",
              x=x,
              y=y,
              rx=r,
              ry=r,
              width=width,
              height=height,
              class_="rect reactive tooltip-trigger",
          ),
          serie.metadata.get(i),
      )
      return x, y, width, height
  
file_path: pygal/pygal/graph/histogram.py
imports: from pygal.graph.bar import Bar
  from pygal.graph.dual import Dual
  from pygal.util import alter, cached_property, decorate
label_desc: Use image node_id 5 for calling the Histogram obj's underlying member method code with example usage: obj._bar(serie, parent, x0, x1, y, i, zero, secondary) and returns: x,  y,  width,  height