Capacity chart created unnecessarily many context records

When displaying capacity charts, unnecessarily many context records were created, which could cause clutter and performance issues.