Skip to content

Commit

Permalink
Merge pull request #3548 from chuynadamas/master
Browse files Browse the repository at this point in the history
Support inlune bubble viz selection
  • Loading branch information
liuxuan30 authored Jul 20, 2018
2 parents 61eb6e6 + 8d95803 commit 88895d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ open class ChartDataSet: ChartBaseDataSet
let value = values[closest]

if value.x != closestXValue { break }
if abs(value.y - yValue) < abs(closestYValue - yValue)
if abs(value.y - yValue) <= abs(closestYValue - yValue)
{
closestYValue = yValue
closestYIndex = closest
Expand Down

0 comments on commit 88895d0

Please sign in to comment.