UsageStatDialog refactoring: Definitions for graph