Closed tamc closed 9 years ago
Linear legends weren't working for me if I used a custom label format. e.g.,
legend.labelFormat(d3.format('%'));
would produce labels that used percentages, but the coloured boxes would be the wrong colours.
This patch fixes the problem for me.
Awesome, thanks for providing a pull request!
Linear legends weren't working for me if I used a custom label format. e.g.,
would produce labels that used percentages, but the coloured boxes would be the wrong colours.
This patch fixes the problem for me.