Open gaving2016 opened 3 weeks ago
Please provide a link by forking these links G2Plot or GitHub repo, a minimal reproduction.
label: { layout: [ { type: 'adjust-color', // 自动调整颜色 }, ], style: { fontSize: 96, // 手动设置标签字体大小 fontWeight: 'bold', // 设置标签字体粗细 fill: 'red', // 默认字体颜色 }, },
设置自动调整标签颜色后支持自定义标签字体大小
🐛 Bug description [Please make everyone to understand it]
📷 Step to reproduce
label: { layout: [ { type: 'adjust-color', // 自动调整颜色 }, ], style: { fontSize: 96, // 手动设置标签字体大小 fontWeight: 'bold', // 设置标签字体粗细 fill: 'red', // 默认字体颜色 }, },
🏞 Expected result
设置自动调整标签颜色后支持自定义标签字体大小
🚑 Any additional [like screenshots]