Problem with Plot's outline

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Nikeitaro
Posts: 6
Joined: Thu Jun 19, 2008 10:46 am

Problem with Plot's outline

Post by Nikeitaro » Thu Jun 19, 2008 10:59 am

Hello,

I have encountered a problem when I was trying to put the plot's outline invisible.

It works well on 2D chart like BarChart or StackedBarChart, but doesn't work with 3D chart (like BarChart3D, StackedBarChart3D or LineChart3D)


I used the function "setOutlineVisible" to do that.

So my question is : did I use the wrong function to do that or is it a bug ?

I use the version 1.0.9 of JFreeChart

Thanks

Nikeitaro
Posts: 6
Joined: Thu Jun 19, 2008 10:46 am

Post by Nikeitaro » Thu Jul 10, 2008 10:46 am

Hi,

Did you have the time to look at it David ?

Maybe my post wasn't clear enough or maybe you couldn't reproduce the bug.

If you need the code to test it, you can take BarChartDemo1.java and add the line "plot.setOutlineVisible(false);" in the function create chart, and do the same in BarChart3DDemo1.java

Thanks

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu Jul 10, 2008 4:05 pm

Hi,

Sorry, I must have had too little time to deal with your post before. I checked now, and yes it is a bug. I committed the fix to Subversion for inclusion in the 1.0.11 release. Thanks for reporting, and following up...
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Nikeitaro
Posts: 6
Joined: Thu Jun 19, 2008 10:46 am

Post by Nikeitaro » Thu Jul 10, 2008 5:03 pm

Thanks for your support

aaa
Posts: 19
Joined: Thu Jul 03, 2008 3:12 pm

Post by aaa » Wed Jul 16, 2008 1:35 pm

Hi,
I am creating barchart using category dataset.

CategoryPlot is subclass of Plot, since i am trying to use a method from Plot as shown below, but its showing the following compilation error.

Code
=====
CategoryPlot plot = chart.getCategoryPlot();
plot.setOutlineVisible(false);

Error
====
cannot find symbol
[javac] symbol : method setOutlineVisible(boolean)
[javac] location: class org.jfree.chart.plot.CategoryPlot
[javac] plot.setOutlineVisible(false);

Any help?

Regards
Vaaji

Nikeitaro
Posts: 6
Joined: Thu Jun 19, 2008 10:46 am

Post by Nikeitaro » Wed Jul 16, 2008 1:48 pm

Which version of JFreeChart do you use ?

aaa
Posts: 19
Joined: Thu Jul 03, 2008 3:12 pm

Post by aaa » Fri Jul 18, 2008 11:56 am

hi
thank you for your help
since my the jar is renamed by the integration team, i am not able to find the version.
But i tried by replacing the jar with jfreechart1.0.10, now its working fine

Regards
Vaaji

Locked