fixed floating bug if data is non number for chart