Ticks

You can customize the ticks format by providing a `ticksFormatFn`.

You can hide the ticks by setting `hideTicks` to true.

Choose an example

Usage

<HistogramG
  {bins}
  {height}
  {width}
/>

Props

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