javascript - ag-chart How to adjust corner radius of series for stacked bar chart - Stack Overflow

I try to achieve stacked bar chart with round border asgoal designhere is what I try with the sandbox

I try to achieve stacked bar chart with round border as goal design

here is what I try with the sandbox

    theme: {
      overrides: {
        bar: {
          series: {
            fillOpacity: 0.8,
            cornerRadius: 8,
            itemStyler: (s) => {
              if (s.yKey == "iphone") {
                return {
                  cornerRadius: 999,
                  fillOpacity: 0.1,
                  fill: "#cf5200",
                };
              }
            },
          },
        },
      },
    },

the cornerRadius inside itemStyler is not doing anything

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744057841a4551229.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信