Refactored code, away from using accessor functions. This is simpler -- only a state object must be maintained.
new tooltip chart