UsageStatDialog refactoring: Graph optimized