# Customizing the Report Bar Chart using scripting

**URL:** <https://forum.inductiveautomation.com/t/customizing-the-report-bar-chart-using-scripting/69089>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 27, 2023, 1:48pm UTC](https://forum.inductiveautomation.com/t/customizing-the-report-bar-chart-using-scripting/69089 "2023-01-27T13:48:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [January 27, 2023, 7:24pm UTC](https://forum.inductiveautomation.com/t/customizing-the-report-bar-chart-using-scripting/69089/4 "2023-01-27T19:24:44Z")

</div>

I encountered this exact problem here in the forum a little while back. Here was the solution:

> [@Report chart hides bar value labels when update BarRenderer](https://forum.inductiveautomation.com/t/report-chart-hides-bar-value-labels-when-update-barrenderer/64682/2):
>
> This is doable, but you have to set the label generator to your custom renderer and then set its visibility to true. You will get the result you are looking for if you change your commented code to look like this: class CustomRenderer(BarRenderer): def getItemPaint(self, row, column): cntValue = chart.getCategoryPlot().getDataset().getValue(row, column) inRange = cntValue \> mTarget-chartValueLimiter and cntValue \< mTarget+chartValueLimiter return Color.green if inRange else Color.re…

---

_[View the full topic](https://forum.inductiveautomation.com/t/customizing-the-report-bar-chart-using-scripting/69089)._
