refactoring ... moving managing of chart drawing to chartDeck