Fixed Highstock issue with gapSize and switching from ordinal to non-ordinal axis. Closes #1794.