highcharts utils functions