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 8860759 commit 4ea04d5Copy full SHA for 4ea04d5
src/traces/surface/convert.js
@@ -241,7 +241,7 @@ proto.calcXnums = function(xlen) {
241
if(nums[i - 1] === 0) {
242
nums[i - 1] = 1;
243
} else {
244
- nums[i - 1] = Math.round(totalDist);
+ nums[i - 1] = Math.round(totalDist / nums[i - 1]);
245
}
246
247
@@ -273,7 +273,7 @@ proto.calcYnums = function(ylen) {
273
274
275
276
277
278
279
0 commit comments