List of usage examples for org.jfree.chart.renderer.category BarRenderer3D setBaseSeriesVisibleInLegend
public void setBaseSeriesVisibleInLegend(boolean visible)
From source file:org.gvsig.symbology.fmap.symbols.BarChart3DSymbol.java
protected Plot getMapPlot() { mapPlot = null; // <- delete this if (mapPlot == null) { CategoryPlot myMapPlot = new CategoryPlot(); try {/* w w w . j av a2 s .co m*/ myMapPlot = (CategoryPlot) getOutlinePlot().clone(); } catch (CloneNotSupportedException e) { Logger.getLogger(getClass()).error("Error cloning the BarChart3DSymbol's plot, check consistency"); myMapPlot = new CategoryPlot(); } myMapPlot.setBackgroundPaint(null); myMapPlot.setOutlinePaint(null); BarRenderer3D renderer = (BarRenderer3D) myMapPlot.getRenderer(); renderer.setDrawBarOutline(drawBarOutline); // renderer.setBaseItemLabelsVisible(false, false); // renderer.setBaseSeriesVisible(false, false); renderer.setBaseSeriesVisibleInLegend(false); // myMapPlot.setBackgroundImage(null); mapPlot = myMapPlot; } return mapPlot; }