antvis / G2Plot

:dango: An interactive and responsive charting library based on G2.
https://g2plot.antv.antgroup.com
MIT License
2.55k stars 605 forks source link

🐛 [BUG]分组柱状图设置自动调整标签颜色后无法设置标签字体大小 #3811

Open gaving2016 opened 3 weeks ago

gaving2016 commented 3 weeks ago

🐛 Bug description [Please make everyone to understand it]

Please provide a link by forking these links G2Plot or GitHub repo, a minimal reproduction.

📷 Step to reproduce

label: { layout: [ { type: 'adjust-color', // 自动调整颜色 }, ], style: { fontSize: 96, // 手动设置标签字体大小 fontWeight: 'bold', // 设置标签字体粗细 fill: 'red', // 默认字体颜色 }, },

🏞 Expected result

设置自动调整标签颜色后支持自定义标签字体大小

🚑 Any additional [like screenshots]