Added some database to graph functionality for DiabetesLog