I want to plot a chart like which is shown in this link:https://www.google.com/search?q=gamma+ray+geology&tbm=isch&ved=2ahUKEwjOy4ncmeLoAhUGI1MKHWVtBmAQ2-cCegQIABAA&oq=gamma+ray+geology&gs_lcp=CgNpbWcQAzIECCMQJzIECCMQJzoECAAQQzoCCAA6BAgAEBNQ6AdY6RRguhdoAHAAeAGAAaIFiAGRFJIBCzAuMS4wLjIuMS4ymAEAoAEBqgELZ3dzLXdpei1pbWc&sclient=img&ei=Nq2SXs7YFIbGzALl2pmABg&bih=625&biw=1366&rlz=1C1CHBD_esVE861VE861#imgrc=oQW55Y_D8stk6M
The independent variable is in the vertical axis in this case, that represent depth, and the horizontal axis represents the gamma-ray value, the dependent variable. I would get some points by reading tuples from a file, and with them I thought to generate the graph by using the "react-native-chart-kit" library, specifically with "Bezier Line Chart".
(Not necessarily the independent values are equally distanced).
The problem is that I don't know how to use that library so that the input data are the two coordinates of the points that interest, and that it can also show the independent variable as the vertical axis. Also, the graph don't need to fit entirely on the screen, but it would only show a part of it and then we could slide down to see the rest.