I built an histogram with Java using JFreeChart API, but I have an issue with large dataset. For example, this is the different between a large and a small dataset:
This is the histogram with a small dataset:
But when I have a very large dataset this is the result:
When I have a large dataset is there any way to split the histogram in smaller pieces?
Assuming ChartFactory.createXYBarChart()
, here are some approaches: