refactered globals into graph controls class, a static class that can be modified anywhere that changes how the graph behaves