Need to remove vertical white lines in stackedareachart

A free public discussion forum for the JFreeChart class library.

Need to remove vertical white lines in stackedareachart

Postby vegeta » Wed Oct 31, 2012 9:11 am

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.Image
vegeta
 
Posts: 1
Joined: Wed Oct 31, 2012 9:00 am

Re: Need to remove vertical white lines in stackedareachart

Postby John Matthews » Wed Oct 31, 2012 2:02 pm

Cross-posted here.
John Matthews
 
Posts: 204
Joined: Wed Sep 12, 2007 3:18 pm

Re: Need to remove vertical white lines in stackedareachart

Postby david.gilbert » Fri Nov 02, 2012 8:09 am

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).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
david.gilbert
JFreeChart Project Leader
 
Posts: 11367
Joined: Fri Mar 14, 2003 10:29 am

Re: Need to remove vertical white lines in stackedareachart

Postby bmanoj » Thu May 23, 2013 12:53 pm

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
bmanoj
 
Posts: 1
Joined: Thu May 23, 2013 11:58 am

Re: Need to remove vertical white lines in stackedareachart

Postby remiohead » Thu May 23, 2013 7:41 pm

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.
remiohead
 
Posts: 198
Joined: Fri Oct 02, 2009 3:53 pm


Return to JFreeChart - General

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 6 guests