Change chart type to sankey.path

This commit is contained in:
Pavle Portic 2019-03-24 01:22:24 +01:00
parent 1872ebf00c
commit 3301698487
Signed by: TheEdgeOfRage
GPG Key ID: 6758ACE46AA2A849
2 changed files with 2 additions and 6 deletions

View File

@ -39,7 +39,7 @@ import * as _ from 'lodash';
import PerksController from '../controllers/perks.controller';
export default {
name: 'Perks',
name: 'perks',
components: {
},
data () {
@ -59,7 +59,7 @@ export default {
methods: {
renderGraph(graphData) {
const svg = d3.select('#perktree').append('svg');
const chart = new Sankey(svg);
const chart = new Sankey.Path(svg);
const nodes = graphData.nodes;
chart.nodeWidth(24)

View File

@ -24,7 +24,3 @@
stroke #000
stroke-opacity .5
&:hover
stroke-opacity .4
stroke #fbf1c7