This is for the inline bubble selection
https://github.com/danielgindi/Charts/pull/3548
This commit is contained in:
parent
7752efef7e
commit
ae59e7a19e
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ public abstract class DataSet<T extends Entry> extends BaseDataSet<T> {
|
|||
if (value.getX() != closestXValue)
|
||||
break;
|
||||
|
||||
if (Math.abs(value.getY() - closestToY) < Math.abs(closestYValue - closestToY)) {
|
||||
if (Math.abs(value.getY() - closestToY) <= Math.abs(closestYValue - closestToY)) {
|
||||
closestYValue = closestToY;
|
||||
closestYIndex = closest;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue