fix chart no data issue