Search code examples
jfreechart

How to reduce gap/space between chart border and pie chart


I want to increase the width of pie chart by reducing the gap between the chart border and chart. How to achieve this?


Solution

  • The setInteriorGap() method "controls the space between the edges of the pie plot and the plot area itself." Smaller values reduce the gap.