Fixed issue with followPointer not working correctly for line charts

Closes #2584