Knowledge Base

Positioning chart cursor before export

In this demo, we show how to use Export plugin’s beforeCapture method to pre-position chart’s cursor using its showCursorAt() method, so that exported image contains balloons and values in legend.

Please note that we have set cursor’s animationDuration to zero, so that it is displayed instantly and not at some mid-point when export takes place.