# Reporting Bar Chart Pareto Entry Limit

**URL:** <https://forum.inductiveautomation.com/t/reporting-bar-chart-pareto-entry-limit/59162>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [May 3, 2022, 1:57pm UTC](https://forum.inductiveautomation.com/t/reporting-bar-chart-pareto-entry-limit/59162 "2022-05-03T13:57:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vandeplanckel](https://avatars.discourse-cdn.com/v4/letter/v/5e9695/32.png) [@vandeplanckel](https://forum.inductiveautomation.com/u/vandeplanckel)\
**Post date:** [May 3, 2022, 1:57pm UTC](https://forum.inductiveautomation.com/t/reporting-bar-chart-pareto-entry-limit/59162/1 "2022-05-03T13:57:20Z")

</div>

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?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/e/fe70b030fea1e2b1551a075f878fcaab9714a21e.jpeg)

---

<div class="post-metadata">

**Author:** ![apalas](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@apalas](https://forum.inductiveautomation.com/u/apalas)\
**Post date:** [May 11, 2022, 4:25pm UTC](https://forum.inductiveautomation.com/t/reporting-bar-chart-pareto-entry-limit/59162/2 "2022-05-11T16:25:20Z")

</div>

Hi,

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.
