antvis/G2

【特性】柱形图设置 maxWidth,minWidth #5118

hustcc posted onGitHub

chart
  .interval()
  .encode('x', 'x')
  // ...
  .style('maxWidth', 100)
  .style('minWidth', '10%')

百分比相对于 coordinate 的宽高,设计上待定。

posted by hustcc almost 2 years ago

Fund this Issue

$0.00
Funded

Pull requests