highslide-software/highcharts.com — pull request #550 by PVince81 (2011-11-04 11:14:51+00:00)
Title: Additional options for legend items, room for extra buttons

A) Added new additional options for legend items.

1) legendLine: true
Flag whether to draw the legend line on the legend symbol.

2) symbolHeight: 12
Specifies the symbol height.
This one was hard-coded before.

3) rightPadding: 0
Additional padding on the right.
Can be used to make room for extra buttons.

B) Exposed legendGroup on the legendItem.

This is necessary to be able to find out the position of a legend group for the positioning of extra buttons nearby, using "legendItem.legendGroup.alignAttr".