How to remove separator line in jfree chart- donut chart

后端 未结 1 615
情深已故
情深已故 2020-12-21 14:40

I am creating Donut chart using Jfreechart. I want to remove separator line (ie.line between green section and white section)- This line is exceeding the chart part. i need

相关标签:
1条回答
  • 2020-12-21 14:56

    The observed lines are the so-called "separator" lines. RingPlot has several methods to control them; amongst them, see setSeparatorsVisible(boolean).

    By calling plot.setSeparatorsVisible(false) in your method createChart(), you can hide those lines.

    0 讨论(0)
提交回复
热议问题