From 847a4807138fe9edf42b81c602fa29ee5bf85625 Mon Sep 17 00:00:00 2001 From: Graham Triggs Date: Wed, 10 May 2017 16:39:15 -0400 Subject: [PATCH] Co-investigator visualisation fix --- .../visualization/personlevel/coPIPersonLevelD3.ftl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/src/main/webapp/templates/freemarker/visualization/personlevel/coPIPersonLevelD3.ftl b/webapp/src/main/webapp/templates/freemarker/visualization/personlevel/coPIPersonLevelD3.ftl index 126f8638..caba8b86 100644 --- a/webapp/src/main/webapp/templates/freemarker/visualization/personlevel/coPIPersonLevelD3.ftl +++ b/webapp/src/main/webapp/templates/freemarker/visualization/personlevel/coPIPersonLevelD3.ftl @@ -164,7 +164,7 @@ $(document).ready(function(){ var chord_ticks = svg.append('g') .selectAll('g') - .data(function(chords) { return chords.groups; }) + .data(function (chords) { return chords.groups; }) .enter().append('g') .selectAll('g') .data(group_ticks) @@ -176,14 +176,14 @@ $(document).ready(function(){ svg.append('g') .attr('class', 'chord') .selectAll('path') - .data(function(chords) { return chords; }) + .data(function (chords) { return chords; }) .enter().append('path') .style('fill', function (d) { return fill(d.target.index); }) - .attr('d', d3.svg.chord().radius(inner_radius)) + .attr('d', d3.ribbon().radius(inner_radius)) .style('opacity', .8); svg.append("g").selectAll(".arc") - .data(function(chords) { return chords.groups; }) + .data(function (chords) { return chords.groups; }) .enter().append("svg:text") .attr("dy", ".35em") .attr("style", function(d) { return d.index == 0 ? "font-size: .75em; font-weight: bold;" : "font-size: .70em;"; } )