Define histogram bins with specified domain.
samussiah opened this issue · 2 comments
samussiah commented
rather than with extent of data
Test notes
- Open the Webcharts config-tester.
- Choose histogram in the Chart Configuration dropdown.
- Add a custom domain to the X-axis Settings:
domain: [0,7]
. - Click the Render Chart button.
- Verify that the number of bars in the histogram remains the same.
- Choose histogram-domain in the Webcharts Version dropdown.
- Verify that the number of bars in the histogram decreases. This behavior is desired when the domain is explicitly defined in the chart configuration. Bar widths should be a function of the domain size rather than the range of the data.
emmorris commented
https://rhoinc.github.io/webcharts-tests/config-tester/test-page/
Spencer is going to update the config tester so that we can test out this update. Test notes and config tester updates coming soon.
Updates that are necessary: point to new data file locations and add safety histogram to drop-down
danedexF5 commented
Works in Chrome and FF. Spencer opened an issue to fix IE at some point but not critical so approving.