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

style: textAlign=‘left‘ 靠左 配置无效 #5

Open
aaadfg opened this issue Jan 12, 2021 · 1 comment
Open

style: textAlign=‘left‘ 靠左 配置无效 #5

aaadfg opened this issue Jan 12, 2021 · 1 comment

Comments

@aaadfg
Copy link

aaadfg commented Jan 12, 2021

config: {
number: [parseInt(item.value)],
content: '{nt}',
formatter: datavFormatter,
animationFrame: 36,
style: {
textAlign: 'center',
fill: '#c66f4b',
fontWeight: 'bold'
}
}

canvas 中数值仍居中

@LemonTree-XGG
Copy link

我也遇到了同样的问题,你解决了吗?

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