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

@bijujoseph/ng2-nvd3

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bijujoseph/ng2-nvd3 - npm Package Compare versions

Comparing version 1.1.24 to 1.2.0

5

lib/ng2-nvd3.component.js

@@ -19,3 +19,2 @@ "use strict";

nvD3.prototype.updateWithOptions = function (options) {
console.log("updateWithOptions");
var self = this;

@@ -99,4 +98,2 @@ this.clearElement();

clearTimeout(rzTimeout);
if (self.chart && self.chart.update)
console.log(" [resize] self.chart.update()");
self.chart && self.chart.update && self.chart.update();

@@ -126,3 +123,2 @@ }, self.options.resizeTimeout || 250);

}
console.log("[svg] updateWithData");
this.svg.datum(data).call(this.chart);

@@ -195,3 +191,2 @@ }

this.chart.resizeHandler.clear();
console.log("[clear] clearElement");
this.chart = null;

@@ -198,0 +193,0 @@ };

2

package.json
{
"name": "@bijujoseph/ng2-nvd3",
"version": "1.1.24",
"version": "1.2.0",
"description": "Angular2 component for NVD3.js reusable charting library, a fork from https://github.com/jrmce/ng2-nvd3",

@@ -5,0 +5,0 @@ "keywords": [

@@ -47,2 +47,3 @@ # ng2-nvd3

this.options = {
resizeTimeout:300,
chart: {

@@ -169,6 +170,14 @@ type: 'discreteBarChart',

#### 1.0.7
* Angular2 - v2.0.0-beta.3
* Angular2 - v2.0.0-beta.3
#### 1.1.8
* Angular2 - v2.4.0
* Angular modules support
* AOT support
#### 1.2.0
* Added property `resizeTimeout` to control how frequently the `chart.update` should be done.
* Update `ngOnChanges` to call `updateWithData` when `data` is changed.
## License
MIT
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