added graph stuff from @ejnens and working on filtering
working of flot in graph screen