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 e0c29f1 commit ffa9d42Copy full SHA for ffa9d42
src/plots/ternary/ternary.js
@@ -203,7 +203,7 @@ proto.adjustLayout = function(ternaryLayout, graphSize) {
203
yDomainFinal = yDomain * h / hmax;
204
205
x0 = graphSize.l + graphSize.w * xDomainCenter - w / 2;
206
- y0 = graphSize.t + graphSize.h * yDomainCenter - h / 2;
+ y0 = graphSize.t + graphSize.h * (1 - yDomainCenter) - h / 2;
207
208
_this.x0 = x0;
209
_this.y0 = y0;
0 commit comments