Skip to content

Commit

Permalink
fix parallel coordinate brush bug
Browse files Browse the repository at this point in the history
use parcoord-es internally
  • Loading branch information
BigFatDog committed Mar 28, 2018
1 parent 0a481c7 commit 9e42724
Show file tree
Hide file tree
Showing 91 changed files with 27 additions and 3,403 deletions.
25 changes: 22 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"d3-shape": "^1.2.0",
"d3-timer": "^1.0.7",
"d3-transition": "^1.1.1",
"parcoord-es": "^2.0.3",
"requestanimationframe": "0.0.23",
"sylvester": "0.0.21",
"vizart-core": "^2.0.0"
Expand Down
2 changes: 2 additions & 0 deletions src/parallelCoordinates/api/api-render.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { apiRenderSVG } from 'vizart-core';
import { select } from 'd3-selection';
import draw from './draw';

const apiRender = state => ({
render(data) {
apiRenderSVG(state).render(data);
select('svg').remove();
draw(state);
},
});
Expand Down
2 changes: 1 addition & 1 deletion src/parallelCoordinates/api/draw.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { select } from 'd3-selection';
import ParCoords from '../parcoords-es';
import ParCoords from 'parcoord-es';
import sortDim from './sort-dim';

const draw = state => {
Expand Down
2 changes: 1 addition & 1 deletion src/parallelCoordinates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
apiResetBrushes,
} from './api/api-delegates';

import './parcoords-es/parallel-coordinates.css';
import 'parcoord-es/dist/parcoords.css';
import opt from './options';

const composers = {
Expand Down
10 changes: 0 additions & 10 deletions src/parallelCoordinates/parcoords-es/api/adjacentPairs.js

This file was deleted.

35 changes: 0 additions & 35 deletions src/parallelCoordinates/parcoords-es/api/applyAxisConfig.js

This file was deleted.

26 changes: 0 additions & 26 deletions src/parallelCoordinates/parcoords-es/api/applyDimensionDefaults.js

This file was deleted.

121 changes: 0 additions & 121 deletions src/parallelCoordinates/parcoords-es/api/autoscale.js

This file was deleted.

28 changes: 0 additions & 28 deletions src/parallelCoordinates/parcoords-es/api/axisDots.js

This file was deleted.

50 changes: 0 additions & 50 deletions src/parallelCoordinates/parcoords-es/api/brushMode.js

This file was deleted.

31 changes: 0 additions & 31 deletions src/parallelCoordinates/parcoords-es/api/brushReset.js

This file was deleted.

Loading

0 comments on commit 9e42724

Please sign in to comment.