Added legend support for highcharts