Background

You can add a background prividing `withBackground` with a custom color using `backgroundColor`, which defaults to `white`.

Usage

<HistogramG
  {bins}
  {height}
  {width}
  flags={{withBackground: true}}
  theme={{backgroundColor: '#feffd4'}}
/>

Props

theme

    { backgroundColor: "#feffd4" }
    • backgroundColor: "#feffd4"

bins

    (9) [ {…} ,{…} ,{…} ,{…} ,{…} , ]
    • 0: { range: Array(2) ,values: Array(15) }
    • 1: { range: Array(2) ,values: Array(4) }
    • 2: { range: Array(2) ,values: Array(7) }
    • 3: { range: Array(2) ,values: Array(13) }
    • 4: { range: Array(2) ,values: Array(13) }
    • 5: { range: Array(2) ,values: Array(14) }
    • 6: { range: Array(2) ,values: Array(0) }
    • 7: { range: Array(2) ,values: Array(14) }
    • 8: { range: Array(2) ,values: Array(1) }
    • length: 9

flags

    { withBackground: true }
    • withBackground: true