I don't want series labels at all. I tried setting the "names" parameter of the XYDataSource ctor as follows:
- null: Causes the chart to blow up (not surprisingly).
- new String[0]: Same as above.
- new String[] { "" }: This results in a blank label (of course) but the series icon (square) is still painted.
Is there any way to get rid of the series label entirely??
Thanks.
Getting rid of series label (XYDataSource)
RE: Getting rid of series label (XYDataSource)
Try the following (unless I've misunderstood what you are trying to do):
myChart.setLegend(null);
Regards,
DG.
myChart.setLegend(null);
Regards,
DG.