'Line chart in swift

I have been working on building a stock application for my school project and I am using the charts found here: https://github.com/danielgindi/Charts. I am trying to implement a highlight feature where a user can drag over the chart and the price at that index is shown, similar to a lot of stock apps. I am a little stuck on how to actually implement this. Is this possible with the charts library?

My app:

enter image description here

Apples stock app:

enter image description here

Thank you in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source