Chart header bugfixes and formatting