Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coconut-graph

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coconut-graph - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

src/axis/x-time.js

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc