Reporting Bar Chart Pareto Entry Limit

I want to limit the number of bar-chart entries, with Pareto enabled, because I want a true Pareto-chart and the datasource has too many entries.
I thought I could do this with jfreechart using the following code: “chart.getCategoryPlot().getDomainAxis().setMaximumCategoryLabelLines(25)”, but I am lost. I think I need to edit the pareto datasource. Does anyone know where this pareto datasource object is, or have a novel way of editing the chart?


I don’t have a solution regarding jfreechart, but would reducing the amount of entries in your returned dataset work? To me, it looks like way too many columns are being rendered where each column represents a single row.