@antv/g2
Advanced tools
Comparing version 3.0.0-rc5.1 to 3.0.0-rc5.2
{ | ||
"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
18757060
63007