Implement max items option for ChartLegend, if the length of the list of...

... items is longer than max items, it will be shown as xx more... and hovering over will display a tooltip including all the extra items.