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.6 to 1.0.7

2

package.json
{
"name": "coconut-graph",
"version": "1.0.6",
"version": "1.0.7",
"description": "Graph lib using d3 ",

@@ -5,0 +5,0 @@ "main": "index.js",

var d3 = require('d3');
var d3tip = require('d3-tip')(d3);
var tip = function (amount_key, readable_interval) {
return d3tip().attr('class', 'bar-tooltip')
.offset([-10, 0])
.html(function(d) {
var tip_elem = d3tip().attr('class', 'bar-tooltip').offset([-10, 0]);
var create_tip = function (amount_key, readable_interval) {
return tip_elem.html(function(d) {
var amount = d[amount_key];

@@ -31,3 +32,4 @@ if (amount > 1000) {

graph.svg.call(tip(key, graph.meta.readable_interval));
var tip = create_tip(key, graph.meta.readable_interval);
graph.svg.call(tip);

@@ -50,4 +52,4 @@ var height = graph.height();

var sel = graph.plotContainer.selectAll('.plot.series-' + plot.key).data(graph.data.values);
sel.exit().remove();

@@ -54,0 +56,0 @@ sel.enter().append('rect')

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