test for chart data