0
차트를 탭하면 값과 강조 표시가 나타납니다. 탭을 마친 후 어떻게 제거 할 수 있습니까?탭이 끝나면 어떻게 레이블을 숨길 수 있습니까?
func SetChart(_ dataPoints: [Date], values: [Double], lineChartView: LineChartView, description: String) {
lineChartDataSet.highlightEnabled = true
lineChartView.highlightPerDragEnabled = true
lineChartDataSet.drawVerticalHighlightIndicatorEnabled = true
}
func chartValueSelected(_ chartView: ChartViewBase, entry: ChartDataEntry, highlight: Highlight) {
print("\(entry.y))
}
그럼 터치 이벤트가 발생했을 때 어떻게 표시하고 있습니까? 목표 - 행동 ?? 몸짓 인식기 ?? – Azzaknight
iOS 차트 라이브러리를 사용하고 highlightedEnabled = true 일 때만 나타납니다. – Maruta