Fixed issue with error number 19 firing on stock charts with ordinal axis when not needed. Closes #2228.