summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wall <richard@aziz>2010-04-18 08:11:34 +0100
committerRichard Wall <richard@aziz>2010-04-18 08:11:34 +0100
commit92c40097f503341bc53531743ee5419838ef7d2b (patch)
tree6011f7a2933c19a0fd28cd95d73b12409831f681
parent5325e54e84a394ae8127785f757d0c7c2c4065f0 (diff)
a thinner graph border
-rw-r--r--index.html17
-rw-r--r--jrrd.js3
2 files changed, 16 insertions, 4 deletions
diff --git a/index.html b/index.html
index 714b85c..b3aff2e 100644
--- a/index.html
+++ b/index.html
@@ -14,10 +14,9 @@
}
.range-preview {
- width: 700px;
+ width: 800px;
height:50px;
margin: 0 auto 0 auto;
- left: 50px;
position: relative;
}
@@ -26,8 +25,12 @@
height:200px;
margin: 50px auto 50px auto;
}
+
+ .chart canvas {
+ }
+
.tickLabel {
- width:100px;
+ width:50px;
overflow:hidden;
}
</style>
@@ -44,8 +47,14 @@
<script type="text/javascript">
var baseOptions = {
+
grid: {
- clickable: true
+ clickable: true,
+ borderWidth: 1,
+ borderColor: "#000",
+ color: "#000",
+ backgroundColor: "#fff",
+ tickColor: "#eee"
},
selection: {
mode: 'x'
diff --git a/jrrd.js b/jrrd.js
index 48f70c5..46858f0 100644
--- a/jrrd.js
+++ b/jrrd.js
@@ -234,6 +234,9 @@ jrrd.ChartCoordinator = function(ui) {
return false;
});
var rangePreviewOptions = {
+ grid: {
+ borderWidth: 1
+ },
selection: {
mode: 'x'
},