MCPcopy Index your code
hub / github.com/plotly/plotly.js / initialFigure

Function initialFigure

test/jasmine/tests/parcoords_test.js:1493–1513  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1491 var gd, initialDashArray0, initialDashArray1;
1492
1493 function initialFigure() {
1494 return {
1495 data: [{
1496 type: 'parcoords',
1497 dimensions: [{
1498 values: [4, 4, 0, 0, 4, 4, 1, 1, 2, 3, 4, 0, 1, 2, 3, 4],
1499 tickvals: [0, 1, 2, 3, 4],
1500 ticktext: ['a', 'b', 'c', 'd', 'e'],
1501 constraintrange: [2.75, 4]
1502 }, {
1503 values: [5, 0, 1, 5, 9, 10, 10, 9, 1],
1504 constraintrange: [7, 9]
1505 }]
1506 }],
1507 layout: {
1508 width: 400,
1509 height: 400,
1510 margin: {t: 100, b: 100, l: 100, r: 100}
1511 }
1512 };
1513 }
1514
1515 var initialSnapDuration;
1516 var shortenedSnapDuration = 20;

Callers 1

parcoords_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…