coconut-graph
Advanced tools
Comparing version 1.0.14 to 1.0.15
{ | ||
"name": "coconut-graph", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "Graph lib using d3 ", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"d3": "^3.5.5", | ||
"d3": "^3.5.6", | ||
"d3-legend": "^1.0.0", | ||
@@ -28,0 +28,0 @@ "d3-tip": "^0.6.7", |
@@ -8,4 +8,4 @@ var Class = require('./class.js'); | ||
var xaxis = require('./time-xaxis.js'); | ||
var yaxis = require('./yaxis.js'); | ||
var xaxis = require('./axis/x-time.js'); | ||
var yaxis = require('./axis/y.js'); | ||
@@ -26,3 +26,3 @@ var spinner = require('./spinner.js'); | ||
x: {}, | ||
y: {orient: 'left'} | ||
y: {orient: 'left', guides: true} | ||
} | ||
@@ -29,0 +29,0 @@ }, |
var d3 = require('d3'); | ||
var extend = require('extend'); | ||
var defaultOptions = { | ||
width: 100, | ||
height: 100, | ||
color: '#4D4D4D' | ||
}; | ||
// inspired by http://bl.ocks.org/MattWoelk/6132258 | ||
module.exports = function spinner(container, options) { | ||
options = extend({}, { | ||
width: 100, | ||
height: 100, | ||
color: '#4D4D4D' | ||
}, options); | ||
options = extend({}, defaultOptions, options); | ||
@@ -11,0 +14,0 @@ var radius = Math.min(options.width, options.height) / 4; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33529
903
Updatedd3@^3.5.6