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.
2 parents 2f6bf8a + c91f88b commit 2528aa6Copy full SHA for 2528aa6
src/traces/scattergl/convert.js
@@ -132,7 +132,7 @@ function convertTextStyle(trace, gd) {
132
}
133
134
} else {
135
- if(trace.text.length < count) {
+ if(Array.isArray(trace.text) && trace.text.length < count) {
136
// if text array is shorter, we'll need to append to it, so let's slice to prevent mutating
137
optsOut.text = trace.text.slice();
138
0 commit comments