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 d0df35c commit be619b9Copy full SHA for be619b9
test/jasmine/tests/parcoords_test.js
@@ -22,6 +22,9 @@ mock0.data[0].dimensions = [];
22
23
var mock = require('@mocks/gl2d_parcoords_large.json');
24
25
+var lineStart = 30;
26
+var lineCount = 10;
27
+
28
describe('parcoords initialization tests', function() {
29
30
'use strict';
@@ -225,8 +228,9 @@ describe('parcoords', function() {
225
228
226
229
beforeAll(function() {
227
230
mock.data[0].dimensions.forEach(function(d) {
- d.values = d.values.slice(30, 40);
231
+ d.values = d.values.slice(lineStart, lineStart + lineCount);
232
});
233
+ mock.data[0].line.color = mock.data[0].line.color.slice(lineStart, lineStart + lineCount);
234
235
236
afterEach(destroyGraphDiv);
0 commit comments