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
const data = [ { name: '张三', value: 100, koko: 'sdsdsds', color: 'red', fontSize: 60 }, { name: 'lisu', value: 100, koko: 'sdsdsds',color: 'black', fontSize: 20 } ]; const config = { width: 1000, height: 800, autoFit: false, fontSizeField: 'fontSize', data: { // value: 'https://gw.alipayobjects.com/os/antvdemo/assets/data/antv-keywords.json' value: data }, colorField: 'color', layout: { imageMask: IMG }, tooltip: { title: 'name', items: [{ name: 'ii', field: 'value' }] }, textField: 'name', legend: false }; 这段代码里面字号可以跟着权重走吗,请问一下 还有,文字之间的空隙有的时候特别大,怎么设置可以紧凑一点吶,辛苦解答一下
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🧐 问题描述 [详细地描述问题,让大家都能理解]
const data = [
{ name: '张三', value: 100, koko: 'sdsdsds', color: 'red', fontSize: 60 },
{ name: 'lisu', value: 100, koko: 'sdsdsds',color: 'black', fontSize: 20 }
];
const config = {
width: 1000,
height: 800,
autoFit: false,
fontSizeField: 'fontSize',
data: {
// value: 'https://gw.alipayobjects.com/os/antvdemo/assets/data/antv-keywords.json'
value: data
},
colorField: 'color',
layout: {
imageMask: IMG
},
tooltip: {
title: 'name',
items: [{ name: 'ii', field: 'value' }]
},
textField: 'name',
legend: false
};
这段代码里面字号可以跟着权重走吗,请问一下
还有,文字之间的空隙有的时候特别大,怎么设置可以紧凑一点吶,辛苦解答一下
💻 示例代码 [如果有必要,展示代码,线上示例,或仓库]
🚑 其他信息 [如截图等其他信息可以贴在这里]
The text was updated successfully, but these errors were encountered: