Orientation
You can customise the chart horizontal and vertical direction by providing the two booleans `isRightToLeft` and `isTopDown`
By default it shows a dot to quickly identify the origin, but you can hide it by setting `hideOrigin` to `true`.
The dot color can be chosen using `originColor`.
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