Can I give different border width and borderColor to each bar in echarts.js bar graph

Viewed 117

I was getting dynamic color for each bar in bargarph and tried to do the same for borderwidth and borderColor and , but is not working in the case of borderWidth or borderColor. Here is piece of code

series: [{ itemStyle: {

       color: function (param:any) {
        return zoneColor[param.name] || '#5470c6';
      },
    
      borderWidth: function () {
        console.log("inside func")
        return zonewidth[param.name]|| 1;
      }
0 Answers
Related