final LegendItemBlockContainer legendItem = new LegendItemBlockContainer(
new BorderArrangement(), item.getDataset(), item.getSeriesKey());
lg.setShapeAnchor(this.getLegendItemGraphicAnchor());
lg.setShapeLocation(this.getLegendItemGraphicLocation());
legendItem.add(lg, this.legendItemGraphicEdge);
final LabelBlock labelBlock = new LabelBlock(item.getLabel(),
this.itemFont, this.itemPaint);
labelBlock.setPadding(this.itemLabelPadding);
legendItem.add(labelBlock);
legendItem.setToolTipText(item.getToolTipText());
legendItem.setURLText(item.getURLText());
result = new BlockContainer(new CenterArrangement());