We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://g2.antv.vision/zh/examples/line/basic#curved
The text was updated successfully, but these errors were encountered:
const chart = new Chart({ container: 'container', autoFit: true, height: 500, padding: [0, 50, 50, 50], // 这里 「上右下左」 });
不设置 padding 的时候,padding 是自动根据四周的组件大小计算的,所以数值大的时候,y 轴占用宽,所以 x 轴有一些偏移,只要固定左侧边距就可以了。
Sorry, something went wrong.
No branches or pull requests
Reproduction link
https://g2.antv.vision/zh/examples/line/basic#curved
Steps to reproduce
The text was updated successfully, but these errors were encountered: