lv_chart_set_cursor_pos() function
Set the coordinate of the cursor with respect to the origin of series area of the chart.
Arguments
chart
pointer to a chart object.
cursor
pointer to the cursor.
pos
the new coordinate of cursor relative to the series area