Java – JfreeChart: you need to delete the vertical white line in the stackedareachart
•
Java
I created a stacked area map A vertical white line appears in the chart I need to remove the vertical white line How can this be done Attach image links
vertical lines http://s15.postimage.org/wa4pje8gr/jfreechart.png
Solution
Hey vegeta, now you will fly in the sky... I have a way to solve your problem
Override stackedarearender to draw paths in a single path Basically, the chart is drawn by combining two polygons. The polygons alternate left and right, so if you make a left = right polygon, there will be no gap It's useful to me. You can try it I hope your boss is happy now
This is the trick
GeneralPath left = new GeneralPath(); GeneralPath right = left;
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码