Downsample plugin for Highcharts.