antvis/G2

没有显式指定 component size 的时候,component 充满 padding 区域 #4687

pearmini posted onGitHub

如下配置 y axis 的 size 还是默认值,这是不符合预期的。

const options = {
  paddingLeft: 72,
  axis: {
    y: {},
  },
};

目前需要按照如下显式设置。

const options = {
  paddingLeft: 72,
  axis: {
    y: { size: 72 },
  },
};

Fund this Issue

$0.00
Funded

Pull requests