added a bit of functionality for calculation page graphs