From b833e0099742c523144bfb585cddb73f960dc3ea Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Wed, 15 May 2013 01:13:58 +1200 Subject: Add a thin line of separation between charts --- public/css/style.css | 7 +++++++ public/js/util/trellis-chart.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/public/css/style.css b/public/css/style.css index 7e02bac..d7708a2 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -168,6 +168,13 @@ h3 { list-style: none; } +/* Charts */ + +.dc-chart, .mv-chart { + border-bottom: 1px #eee solid; + float: left; +} + /* Utility */ .fader { -moz-transition: opacity 1s linear; diff --git a/public/js/util/trellis-chart.js b/public/js/util/trellis-chart.js index 1274167..cb7c8f1 100644 --- a/public/js/util/trellis-chart.js +++ b/public/js/util/trellis-chart.js @@ -30,7 +30,7 @@ function trellisChart(anchor, monoGroups) { var _chart = function() { if (g.empty()) { /* Make stuff! */ - var svg = anchor.append("svg").attr("height", 400); + var svg = anchor.append("svg").attr("height", 400).attr("class", "mv-chart"); /* Group of dimension labels. */ var dimLabelsG = svg .append("g") -- cgit v1.2.3-60-g2f50