summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-02-25 16:16:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-02-25 16:16:35 +0100
commit87fc996ecf568d6d73a57c3233e28421352057c1 (patch)
tree821d6d31b469b4fa95a853118a92f9e06d85f4ea /public
parent4d17f9167fa57d14576fe96f580123805cdf1100 (diff)
parametric bargraph is parametric
Diffstat (limited to 'public')
-rw-r--r--public/css/default.css8
-rw-r--r--public/js/d3funcs.js2
2 files changed, 9 insertions, 1 deletions
diff --git a/public/css/default.css b/public/css/default.css
index 57cf602..7b37068 100644
--- a/public/css/default.css
+++ b/public/css/default.css
@@ -2,6 +2,14 @@ body {
font-family: sans-serif;
}
+input, select {
+ border: 1px solid black;
+}
+
+input.dimension {
+ width: 4em;
+}
+
svg {
font: 10px sans-serif;
}
diff --git a/public/js/d3funcs.js b/public/js/d3funcs.js
index ec6699d..0b68bcb 100644
--- a/public/js/d3funcs.js
+++ b/public/js/d3funcs.js
@@ -1,6 +1,6 @@
show_bargraph = function(datasource, title, xLabel, yLabel, yFormat, width, height) {
- var margin = {top: 40, right: 20, bottom: 30, left: 40};
+ var margin = {top: 40, right: 20, bottom: 40, left: 45};
if (!width) {
width = 960;