Don't have to look very far. Just type out the method ("chart.setCursorMode(") in IDE and see inline documentation.
Or alternatively use online API documentation, https://lightningchart.com/js-charts/api-documentation/v7.0.3/classes/ChartXY.html#setCursorMode