We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9055503 commit e458c86Copy full SHA for e458c86
src/components/shapes/helpers.js
@@ -93,7 +93,7 @@ exports.getPixelToData = function(gd, axis, isVertical, opt) {
93
if(opt === 'domain') {
94
pixelToData = function(p) {
95
var q = (p - axis._offset) / axis._length;
96
- return isVertical ? 1 - q : q;
+ return isVertical ? 1 - q : q;
97
};
98
} else {
99
var r2d = exports.rangeToShapePosition(axis);
0 commit comments