antvis/G6




The issue has been closed
如何设置graph 100% height, width? #4672
neolee6053 posted onGitHub
问题描述
如何设置graph 100% height, width? 为什么一定要px 值呢? 为什么不可以set 100%?
重现链接
https://codesandbox.io/s/g6-p6fq42?file=/index.js
重现步骤
如上
预期行为
如上
平台
- 操作系统: [ Windows]
- 网页浏览器: [Google Chrome,]
- G6 版本: [4.8.15]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response