antvis/G2

The issue has been closed
【特性】柱形图设置 maxWidth,minWidth #5118
hustcc posted onGitHub
- 像素单位,绝对大小 https://github.com/antvis/G2/pull/5123
- 百分比,相对大小,相对于 coordinate 的宽高
chart
.interval()
.encode('x', 'x')
// ...
.style('maxWidth', 100)
.style('minWidth', '10%')