check of invalid chart data.