Skip to content
New issue

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

Axis组件label属性修改文字样式部分文档有误 #12

Open
lilicoder opened this issue Nov 13, 2019 · 2 comments
Open

Axis组件label属性修改文字样式部分文档有误 #12

lilicoder opened this issue Nov 13, 2019 · 2 comments

Comments

@lilicoder
Copy link

textStyle中的样式不起效
image

需修改为
image

@lilicoder
Copy link
Author

@MuYunyun
Copy link

这部分文档是存在问题, 应修正为

<Axis
  dataKey="date"
  label={{
    textAlign: 'center',
    fill: 'red',
    rotate: 30,
    fontSize: '24',
    fontWeight: 'bold',
    textBaseline: 'top'
  }}
/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants