creating a highcharts wrapper