Quiz Chart drawing refactoring to increase portability