Hi,
I saw other posts regarding the legend of a chart in a different panel/frame but couldn't find the solution for my problem. I am able to display the legend of the chart in a different panel, but I cannot disable the legend in the chart.
When I disable the legend during the creation of the chart (ex:
JFreeChart mychart = ChartFactory.createBarChart3D(
"title", "x", "y",
(CategoryDataset) dataset, PlotOrientation.VERTICAL,
false, true, false);)
I could no longer grab the legend from the chart to be displayed in a separate panel; the separate panel doesn't show anything
Is there a way to disable the legend in the chart and yet still be able to grab the legend and put it in a different panel?
Thanks.