improvements to chart creation per Evan