# Adding label to stacked bar created using jfree

**URL:** <https://forum.inductiveautomation.com/t/adding-label-to-stacked-bar-created-using-jfree/43776>\
**Category:** Ignition\
**Created:** [February 24, 2021, 9:40am UTC](https://forum.inductiveautomation.com/t/adding-label-to-stacked-bar-created-using-jfree/43776 "2021-02-24T09:40:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasath.t](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@prasath.t](https://forum.inductiveautomation.com/u/prasath.t)\
**Post date:** [February 24, 2021, 9:40am UTC](https://forum.inductiveautomation.com/t/adding-label-to-stacked-bar-created-using-jfree/43776/1 "2021-02-24T09:40:04Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/1/410b8a219fe1032398a29aca6443ba380636f584.png)

```auto
from org.jfree.chart.renderer.category import StandardBarPainter           
	
	

	plot = chart.getPlot()
	renderer = plot.getRenderer()
	renderer.setBarPainter(StandardBarPainter())                                                        
	renderer.setShadowVisible(0)         
	renderer.setMaximumBarWidth(0.3)

```

above mentioned script i have written in configurechart  
how to add label to my stacked bar  
please let me know the script for showing label
