Need to remove vertical white lines in stackedareachart
Need to remove vertical white lines in stackedareachart
I have created a Stacked area chart. In the chart vertical white lines appear. I need to remove the vertical white lines. How can this be done. An image link is attached.
-
- Posts: 513
- Joined: Wed Sep 12, 2007 3:18 pm
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Need to remove vertical white lines in stackedareachart
In the StackedXYAreaRenderer2 class, there is a flag roundXCoordinates that you can set to true as a (not perfect) workaround for this issue.
A proper fix would probably involve calculating the areas that need to be filled across the complete dataset, and filling them in a single operation (the current renderer tries to fill the areas segment by segment).
A proper fix would probably involve calculating the areas that need to be filled across the complete dataset, and filling them in a single operation (the current renderer tries to fill the areas segment by segment).
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
Re: Need to remove vertical white lines in stackedareachart
Hi,
I am facing the same issue like same white vertical lines are displaying on stackedAreaChart, and it is weared.
It will be great if anyone has idea to resolved it.
Regards,
Manoj
I am facing the same issue like same white vertical lines are displaying on stackedAreaChart, and it is weared.
It will be great if anyone has idea to resolved it.
Regards,
Manoj
Re: Need to remove vertical white lines in stackedareachart
Our approach was create a new interface called SeriesRenderer (extends from CategoryItemRenderer) which together with a slightly modified plot and implementing version of AreaRenderer, paints one series at a time, rather than one category at the time.