Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SVG export text in same color as graph
  • Loading branch information
proost committed Jan 16, 2018
1 parent 733ca77 commit 9a03db1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conekt/static/js/planet_svg.js
Expand Up @@ -114,10 +114,10 @@ function writeSVG(data) {
text = node.data('name');
if (node.data('best_name') !== '') { text = node.data('best_name'); }

group.text({y:6, fill:"none", stroke:'#888888'}).content(text)
group.text({y:6, fill:"none", stroke:'#ffffff'}).content(text)
.attr('text-anchor', 'middle')
.attr('font-family', 'sans-serif');
group.text({y:6, fill:"white"}).content(text)
group.text({y:6, fill:"black"}).content(text)
.attr('text-anchor', 'middle')
.attr('font-family', 'sans-serif');
}
Expand Down

0 comments on commit 9a03db1

Please sign in to comment.