Adding chart-debug capability.