Option showSingleLegend

option showSingleLegend added - When set to true (default is false), the legend is displayed even when there is only one element in the legend.