Quantcast
Channel: BIRT Exchange Forum Feed
Viewing all articles
Browse latest Browse all 542

Removing Specific Legend from Chart

$
0
0
I've been trying to remove a legend from one of my reports, while keeping another one. I've ran into examples of how to remove it completely (beforeDrawBlock) and how to remove certain values in a series, but I'm not figuring how to remove one complete legend series based on the getSeriesIdentifier. I want the data to stay in the chart, but now show in the legend. I've got it to where it'll remove the corresponding data in the chart ( if (series.getSeriesIdentifier() == 'Class Avg') series.setVisible(false);}), but I need it to remove it from the legend, and not the chart. I'm just trying to remove the one legend series but still have it plot on the chart.


Thanks in advance
Bryan

Viewing all articles
Browse latest Browse all 542

Trending Articles