Hi,
I would like to generate graphics that don't have any outline.
I constructed a chart, like JFreeChart chart = ChartFactory.createVerticalBarChart3D(_title,null,null,data,true);
and tried
java.awt.Stroke seriesStroke[] = {new java.awt.BasicStroke(0.0f,0,0)};
chart.getPlot().setSeriesOutlineStroke(seriesStroke);
or also
Color seriesColor[] = {new Color(0,0,0,0)};
chart.getPlot().setSeriesOutlinePaint(seriesColor);
But it doesn't work well, there is still something that is appearing
(especially when I include the graph in a pdf document)
Is there a way to avoid to have any outline?
thanks
Nicolas
no outline
Re: no outline
Ok I mangage to avoid my problem by specifying a big dash in the
BasicStroke.
Not that elegant but it works fine.
BasicStroke.
Not that elegant but it works fine.
Re: no outline
Nicolas,
I am attempting to do the same thing. Can you tell me what do you want by a big "dash" in BasicStroke?
much thanks,
Alan
I am attempting to do the same thing. Can you tell me what do you want by a big "dash" in BasicStroke?
much thanks,
Alan