showOnPress

fun showOnPress(consumeMoveEvents: Boolean = false): CartesianMarkerController

Creates a CartesianMarkerController that shows the marker on press. consumeMoveEvents defines whether to consume move touch events when scroll is disabled.