public DrawableLegendItem(LegendItem item) { base.\u002Ector(); DrawableLegendItem drawableLegendItem = this; this.item = item; }
public virtual LegendItem getLegendItem(int series) { LegendItem legendItem = (LegendItem) null; PolarPlot plot = this.getPlot(); if (plot != null) { XYDataset dataset = plot.getDataset(); if (dataset != null) { string label = Object.instancehelper_toString((object) dataset.getSeriesKey(series)); string description = label; Shape shape = this.lookupSeriesShape(series); Paint fillPaint = this.lookupSeriesPaint(series); Paint outlinePaint = this.lookupSeriesOutlinePaint(series); Stroke outlineStroke = this.lookupSeriesOutlineStroke(series); legendItem = new LegendItem(label, description, (string) null, (string) null, shape, fillPaint, outlineStroke, outlinePaint); legendItem.setDataset((Dataset) dataset); } } return legendItem; }