Display label inside Stacked bar chart

自作多情 提交于 2019-12-24 00:57:07

问题


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


来源:https://stackoverflow.com/questions/6843188/display-label-inside-stacked-bar-chart

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!