use C++11 enum classes; more chart improvements