Fixed graph generation

Data is properly logged now