Generates the JavaScript snippet for arrow-key tooltip navigation.
ro_e_keyboard_nav_axis_js.RdArrow key direction depends on chart orientation:
"horizontal": ArrowLeft / ArrowRight, reads xAxis
"vertical": ArrowDown / ArrowUp, reads yAxis
"both": all four arrow keys, each bound to the correct axis