fix chart data is not float issue