Hi All,
We have an application where you can manually move the tooltip through a line chart with two buttons left and right.
This is done by using chart.tooltip.refresh(pointArray);
The tooltip is shown correctly, but the markers do not follow along always. It seems like the current point is remembered, and you can only move in one direction from that point on.
For example:
https://jsfiddle.net/3Lsc2fx1/56/
Scenario:
- Tooltip starts at 2014
- Click left once (go to 2013). This works fine.
- Click right once (back to 2014). Tooltip works, but markers are invisible
- Click left twice (go to 2012): Markers become visible only on 2012
- Click right once (go to 2013). Marker becomes invisible
- Click left twice (go to 2011). Markers become visible only on 2011
- Click right 4 times (go to 2015). Markers become visible only on 2015
- Click left once (go to 2014). Marker becomes invisible
- Click right twice (go to 2016). Marker becomes visible only on 2016.
Does anyone know how I can always show my markers at the current position of the tooltip?
Thanks in advance!