Skip to content

Commit b95ee8a

Browse files
committed
truncating and testing truncation to 63 variables
(cherry picked from commit d1c15ec)
1 parent c002a8b commit b95ee8a

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

src/traces/parcoords/defaults.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ function dimensionsDefaults(traceIn, traceOut) {
3434

3535
var dimensionIn, dimensionOut;
3636

37+
dimensionsIn.splice(63); // parcoords supports up to 63 dimensions
38+
3739
function coerce(attr, dflt) {
3840
return Lib.coerce(dimensionIn, dimensionOut, attributes.dimensions, attr, dflt);
3941
}

test/jasmine/tests/parcoords_test.js

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)