refactored GraphingPane