Fixed error message in Highstock. Closes #872.