Is there anyway to get the colors from the legend?
I don't want the legend shown on the graph because depending on the number of items, it "squeezes" the graph.
I'd like to generate my own legend. How can I pull the colors and label descriptions from the legend?
Thanks.
Bray
Drawing my own legend.
Re: Drawing my own legend.
Hi Bray,
The legend colors are taken from the Plot.getSeriesPaint(int) method.
The text items are taken from the Plot.getLegendItemLabels method.
Regards,
DG
The legend colors are taken from the Plot.getSeriesPaint(int) method.
The text items are taken from the Plot.getLegendItemLabels method.
Regards,
DG