how to hide it
DataSet.highlightEnabled = false
highlightEnabled.highlightColor = UIColor.clear
correct answer:
@objc open func drawHighlightLines(context: CGContext, point: CGPoint, set: ILineScatterCandleRadarChartDataSet)
{
// draw vertical highlight lines
if set.isVerticalHighlightIndicatorEnabled
{
context.beginPath()
context.move(to: CGPoint(x: point.x, y: viewPortHandler.contentTop))
context.addLine(to: CGPoint(x: point.x, y: viewPortHandler.contentBottom))
context.strokePath()
}
// draw horizontal highlight lines
if set.isHorizontalHighlightIndicatorEnabled
{
context.beginPath()
context.move(to: CGPoint(x: viewPortHandler.contentLeft, y: point.y))
context.addLine(to: CGPoint(x: viewPortHandler.contentRight, y: point.y))
context.strokePath()
}
}
Most helpful comment
correct answer: