added ability to set chart background