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
Problem with Plot's outline
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
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
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
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...
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
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


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
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