JFreeChart Labels on Small Stacked Bars

Hi, I’m trying to format the labels on the JFreeCharts in a report. I’ve managed to format the labels to appear in the center of the bar sections, but the labels are hidden on smaller sections. Is there a function or setting I can configure to force all labels to be visible? My script and a sample image are below:

from org.jfree.chart.labels import ItemLabelPosition
from org.jfree.chart.labels import ItemLabelAnchor
from org.jfree.ui import TextAnchor
plot = chart.getPlot()
renderer = plot.getRenderer()
renderer.setBasePositiveItemLabelPosition(ItemLabelPosition(ItemLabelAnchor.CENTER, TextAnchor.CENTER))


Can you tell me how this is done? Thank you