Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreimejov committed Nov 21, 2019
1 parent 4fe839e commit c7d03a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/charts/AxisChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,9 @@ export default class AxisChart extends BaseChart {
if(!s.yExtremes) return;

let index = getClosestInArray(relX, s.xAxis.positions, true);

if (index >= 0) {
let dbi = this.dataByIndex[index];

this.tip.setValues(
dbi.xPos + this.tip.offset.x,
dbi.yExtreme + this.tip.offset.y,
Expand Down

0 comments on commit c7d03a5

Please sign in to comment.