A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Urs
- Posts: 6
- Joined: Wed Jun 06, 2007 7:37 am
Post
by Urs » Mon Oct 06, 2008 12:45 pm
Hello
I have a special line left from the bars. I have no idea what I have to do, to remove it.
Have someone a idea?
Thank you for your help
Urs
PS: I am using JFreeChart 1.0.11
-
RugWarrior
- Posts: 17
- Joined: Wed Jul 30, 2008 11:54 am
Post
by RugWarrior » Mon Oct 06, 2008 12:50 pm
david.gilbert wrote:
I made the decision to change the default look in the 1.0.11 release. I knew it would be inconvenient for some users, but I'm getting positive feedback about the new look, so on balance I think the inconvenience is worth it.
The migration section in the JFreeChart Developer Guide explains how to restore the default "look" - essentially you put the following code somewhere near the start of your application (before you create any charts):
Code: Select all
ChartFactory.setChartTheme(StandardChartTheme.createLegacyTheme());
You'll also need:
Code: Select all
BarRenderer.setDefaultPainter(new StandardBarPainter());
-
Urs
- Posts: 6
- Joined: Wed Jun 06, 2007 7:37 am
Post
by Urs » Mon Oct 06, 2008 2:07 pm
Hello
Thank you for your help. It works now. We are very happy.
Have a good time
Urs