Skip to content

Commit e458c86

Browse files
Syntax
1 parent 9055503 commit e458c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/shapes/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ exports.getPixelToData = function(gd, axis, isVertical, opt) {
9393
if(opt === 'domain') {
9494
pixelToData = function(p) {
9595
var q = (p - axis._offset) / axis._length;
96-
return isVertical ? 1 - q : q;
96+
return isVertical ? 1 - q : q;
9797
};
9898
} else {
9999
var r2d = exports.rangeToShapePosition(axis);

0 commit comments

Comments
 (0)