String itemLegendLabel = getLegendItemLabelGenerator().generateLabel(dataSet, series);
final XYSeriesLabelGenerator toolTipGenerator = getLegendItemToolTipGenerator();
String toolTipText = (toolTipGenerator != null) ? toolTipGenerator.generateLabel(dataSet, series) : null;
final XYSeriesLabelGenerator urlGenerator = getLegendItemURLGenerator();
String urlText = urlGenerator != null ? urlGenerator.generateLabel(dataSet, series) : null;
boolean isItemShapeVisible = getItemShapeVisible(series, 0);
boolean isItemShapeFilled = getItemShapeFilled(series, 0);
boolean isItemShapeOutlineVisible = getDrawOutlines();
boolean isItemLineVisible = getItemLineVisible(series, 0);