Closed Dream-nb closed 1 year ago
current: dispatchAction: ƒ dispatchAction(action) getInstance: ƒ getInstance(functionName, params) setNewOption: ƒ setNewOption(option, optionSetting)
图表的实例已经通过 getInstance 暴露出来,所以可以改变图表高度,但是需要注意,图表高度和外层容器高度应该同时改变。
getInstance
参考文档=》resize
current: dispatchAction: ƒ dispatchAction(action) getInstance: ƒ getInstance(functionName, params) setNewOption: ƒ setNewOption(option, optionSetting)