Skip to content

Commit

Permalink
Fixed regression (8905a46) in Radar highlights (Closes #1556)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Sep 29, 2016
1 parent 768acb5 commit 61d10ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Charts/Renderers/RadarChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ open class RadarChartRenderer: LineRadarRenderer
set.isHighlightEnabled
else { continue }

guard let e = set.entryForXValue(high.x) as? RadarChartDataEntry
guard let e = set.entryForIndex(Int(high.x)) as? RadarChartDataEntry
else { continue }

if !isInBoundsX(entry: e, dataSet: set)
Expand Down

0 comments on commit 61d10ba

Please sign in to comment.