diff --git a/client/html/index.html b/client/html/index.html index 913b238..38aeff3 100644 --- a/client/html/index.html +++ b/client/html/index.html @@ -112,24 +112,24 @@ - - - - - - - + + + + + + + - - - - - - - label - + + + + + + + + - + diff --git a/client/scripts/application.js b/client/scripts/application.js index 7aff541..19cb3a6 100644 --- a/client/scripts/application.js +++ b/client/scripts/application.js @@ -71,7 +71,7 @@ ctx.maxResults = query.maxResults; ctx.grapher = new grapher.Grapher({ - canvas: null, + canvas: Snap('#svg'), columnRange: ctx.searchRange, columnWidth: 150, useLocalScale: true, diff --git a/client/scripts/grapher.js b/client/scripts/grapher.js index abaafa1..e087d75 100644 --- a/client/scripts/grapher.js +++ b/client/scripts/grapher.js @@ -111,7 +111,12 @@ function Column(params) { this.updateShapes = function() { - + var bigCircle = this.canvas.circle(150, 150, 100); + bigCircle.attr({ + fill: "#bada55", + stroke: "#000", + strokeWidth: 5 + }); }; this.decimateHints = function(hints, steps, scale) {