Highstock: Fixed #3487, JS error on creating stock chart with empty series.