Refactored code to seperate the mapping (map events) and the charting (Chart events).
Also, added the ability to select chart points on the transect and highlight on the map.
And double clicking the transect point on the chart to see the time-series for that point.