abc
- a a a
var svg = d3.select("svg"); | |
var rectBar = function(svg, x, y, width, height, color) { | |
return svg | |
.append("svg:rect") | |
.attr("x", x + 0.5) | |
.attr("y", y + 0.5) | |
.attr("width", width) | |
.attr("height", height) | |
.style("fill", color) | |
.style("stroke", 'black') |
var svg = d3.select("svg") | |
var rectBar = function(svg, x, y, width, height, color) { | |
return svg | |
.append("svg:rect") | |
.attr("x", x + 0.5) | |
.attr("y", y + 0.5) | |
.attr("width", width) | |
.attr("height", height) | |
.style("fill", color) |
var svg = d3.select("svg") | |
var rectBar = function(svg, x, y, width, height, color) { | |
return svg | |
.append("svg:rect") | |
.attr("x", x + 0.5) | |
.attr("y", y + 0.5) | |
.attr("width", width) | |
.attr("height", height) | |
.style("fill", color) |
var svg = d3.select("svg") | |
var rectBar = function(svg, x, y, width, height, color) { | |
return svg.append("svg:rect") | |
.attr("x", x + 0.5) | |
.attr("y", y + 0.5) | |
.attr("width", width) | |
.attr("height", height) | |
.style("fill", color) | |
.style("stroke", 'black') |
var svg = d3.select("svg") | |
var rectBar = function(svg, x, y, width, height, color) { | |
return svg.append("svg:rect") | |
.attr("x", x + 0.5) | |
.attr("y", y + 0.5) | |
.attr("width", width) | |
.attr("height", height) | |
.style("fill", color) | |
.style("stroke", 'black') |
function Gauge(placeholderName, configuration) | |
{ | |
this.placeholderName = placeholderName; | |
var self = this; // some internal d3 functions do not "like" the "this" keyword, hence setting a local variable | |
this.configure = function(configuration) | |
{ | |
this.config = configuration; |
[core] | |
editor = "mvim -f -c 'au VimLeave * !open -a Terminal'" | |
[merge] | |
tool = vimdiff | |
guitool = mvim | |
[diff] | |
tool = vimdiff | |
guitool = mvim | |
[mergetool "mvim"] | |
cmd = mvim -f -d "$LOCAL" "$MERGED" "$REMOTE" |