In heatmap custom point events, a point object should be passed as this to the event handlers, but a marker object is passed instead.
Heatmap example: https://jsfiddle.net/awycd2o7/
Line chart example: https://jsfiddle.net/t6xu39jp/4/ (works correctly)