Socket
Socket
Sign inDemoInstall

@antv/g2

Package Overview
Dependencies
5
Maintainers
2
Versions
366
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-rc5.1 to 3.0.0-rc5.2

dist/g2-3.0.0-rc5.2.min.js

2

package.json
{
"name": "@antv/g2",
"version": "3.0.0-rc5.1",
"version": "3.0.0-rc5.2",
"description": "the Grammar of Graphics in Javascript",

@@ -5,0 +5,0 @@ "main": "build/g2.js",

@@ -250,2 +250,18 @@ /**

}
/**
* 改变宽度
* @param {Number} width 图表宽度
* @return {Chart} 图表对象
*/
changeWidth(width) {
return this.changeSize(width, this.get('height'));
}
/**
* 改变宽度
* @param {Number} height 图表高度
* @return {Chart} 图表对象
*/
changeHeight(height) {
return this.changeSize(this.get('width'), height);
}

@@ -252,0 +268,0 @@ facet(type, cfg) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc