I'm trying to display the customized label inside the bar chart. No idea on how to do this.. Please help me. Label should be displayed inside each bar
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You just specify this in Series config... It's working fine for me:
label: {
display: 'outsideEnd',
field: 'data1', // field name
orientation: 'horizontal', // or 'vertical'
color: '#0000FF',
'text-anchor': 'middle'
},