#47 refactoring for text in chart background