I am looking for marker implementation for line chart. I am using swift 3. all my searches failed, and I need a help.
I went through this steps, but it seems to not working well.
I have two graphs and when I touch on them - there are no action (example bellow).
@IBOutlet weak var modelLineChartView: LineChartView!
@IBOutlet weak var lineChartView: LineChartView!
....
func chartValueSelected(chartView: ChartViewBase, entry: ChartDataEntry, highlight: Highlight) {
let graphPoint = modelLineChartView.getMarkerPosition(highlight: highlight)
let graphPointt = lineChartView.getMarkerPosition(highlight: highlight)
print(graphPoint.x)
print(graphPointt.x)
}
Please help me, I am stuck.