trying to do dinamic chart data