Thanks to visit codestin.com Credit goes to github.com
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 530efee commit f219206Copy full SHA for f219206
src/traces/scattergl/index.js
@@ -80,12 +80,15 @@ ScatterRegl.calc = function calc(container, trace) {
80
if(xaxis.type === 'log') {
81
var rawx = Array(x.length);
82
for(i = 0, l = x.length; i < l; i++) {
83
- rawx[i] = x[i]
+ rawx[i] = x[i];
84
x[i] = xaxis.d2l(x[i]);
85
}
86
87
else {
88
rawx = x;
89
+ for(i = 0, l = x.length; i < l; i++) {
90
+ x[i] = parseFloat(x[i]);
91
+ }
92
93
if(yaxis.type === 'log') {
94
var rawy = Array(y.length);
@@ -96,6 +99,9 @@ ScatterRegl.calc = function calc(container, trace) {
96
99
97
100
98
101
rawy = y;
102
+ for(i = 0, l = y.length; i < l; i++) {
103
+ y[i] = parseFloat(y[i]);
104
105
106
107
// we need hi-precision for scatter2d
0 commit comments