开发者

Display label inside Stacked bar chart

开发者 https://www.devze.com 2023-03-23 10:14 出处:网络
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 barYou just specify this in Series co

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


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'
    },
0

精彩评论

暂无评论...
验证码 换一张
取 消