got chartjs working! all thats left is to store data in mysql with cron