New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dchart-core

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dchart-core - npm Package Compare versions

Comparing version 1.1.15 to 1.2.0

2

core/update.js

@@ -1,1 +0,1 @@

var exports=module.exports,_=require("../util");exports.updateLayout=function(){var t=this.options;this.el.select(".con-svg").attr({width:t.svgWidth,height:t.svgHeight}),this.el.select(".con-g").attr({transform:"translate("+t.margin.left+","+t.margin.top+")"})},exports.update=function(t,e){t&&this.data(t),_.deepMerge(this.options,e),this._initArgu(),this.updateLayout(),this._updateBeforeRender(),this.updateSeries(),this._updateAfterRender()},exports.updateSeries=function(){},exports.updateBeforeRender=function(){},exports._updateBeforeRender=function(){this.updateBeforeRender();var t=this.options;if(t.xaxis){var e=this.getComs("axis","xaxis");e.update(this._data,t.xaxis)}if(t.yaxis){var i=this.getComs("axis","yaxis");i.update(this._data,t.yaxis)}},exports.updateAfterRender=function(){},exports._updateAfterRender=function(){this.updateAfterRender()},exports.updateSeries=function(){};
var exports=module.exports,_=require("../util");exports.updateLayout=function(){var t=this.options;this.el.select(".con-svg").attr({width:t.svgWidth,height:t.svgHeight}),this.el.select(".con-g").attr({transform:"translate("+t.margin.left+","+t.margin.top+")"})},exports.update=function(t,e){t&&this.data(t),e.width&&this.el&&this.el.style("width",e.width+"px"),e.height&&this.el&&this.el.style("height",e.height+"px"),_.deepMerge(this.options,e),this._initArgu(),this.updateLayout(),this._updateBeforeRender(),this.updateSeries(),this._updateAfterRender()},exports.updateSeries=function(){},exports.updateBeforeRender=function(){},exports._updateBeforeRender=function(){this.updateBeforeRender();var t=this.options;if(t.xaxis){var e=this.getComs("axis","xaxis");e.update(this._data,t.xaxis)}if(t.yaxis){var i=this.getComs("axis","yaxis");i.update(this._data,t.yaxis)}},exports.updateAfterRender=function(){},exports._updateAfterRender=function(){this.updateAfterRender()},exports.updateSeries=function(){};
{
"name": "dchart-core",
"version": "1.1.15",
"version": "1.2.0",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

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