Skip to content

Commit

Permalink
Merge pull request #55 from redbearsam/feature/update-d3fc-grouped
Browse files Browse the repository at this point in the history
Update d3fc with fixed seriesSvgGrouped
  • Loading branch information
matt-hooper authored Feb 19, 2019
2 parents ceda5f8 + dbdaea2 commit 8ea5383
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 137 deletions.
2 changes: 1 addition & 1 deletion packages/perspective-viewer-d3fc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"chroma-js": "^1.3.4",
"d3": "^5.7.0",
"d3-svg-legend": "^2.25.6",
"d3fc": "^14.0.25",
"d3fc": "^14.0.26",
"gradient-parser": "0.1.5"
}
}
77 changes: 0 additions & 77 deletions packages/perspective-viewer-d3fc/src/js/d3fc/series/groupedBase.js

This file was deleted.

57 changes: 0 additions & 57 deletions packages/perspective-viewer-d3fc/src/js/d3fc/series/svg/grouped.js

This file was deleted.

3 changes: 1 addition & 2 deletions packages/perspective-viewer-d3fc/src/js/series/barSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
*/
import * as fc from "d3fc";
import {tooltip} from "../tooltip/tooltip";
import seriesSvgGrouped from "../d3fc/series/svg/grouped";

export function barSeries(settings, colour) {
let series = settings.mainValues.length > 1 ? seriesSvgGrouped(fc.seriesSvgBar()) : fc.seriesSvgBar();
let series = settings.mainValues.length > 1 ? fc.seriesSvgGrouped(fc.seriesSvgBar()) : fc.seriesSvgBar();

series = series.decorate(selection => {
tooltip(selection, settings);
Expand Down

0 comments on commit 8ea5383

Please sign in to comment.