diff --git a/src/chart/bar/BarSeries.js b/src/chart/bar/BarSeries.js index 681d69b87d2ef81eabb90a422fd849344a62d582..01e54ff94305e3b49534dc54b660f254db5e0b9d 100644 --- a/src/chart/bar/BarSeries.js +++ b/src/chart/bar/BarSeries.js @@ -66,11 +66,7 @@ define(function(require) { // }, itemStyle: { normal: { - // color: '各异', - // 柱条边线 - borderColor: '#fff', - // 柱条边线线宽,单位px,默认为1 - borderWidth: 0 + // color: '各异' }, emphasis: {} } diff --git a/src/chart/helper/Symbol.js b/src/chart/helper/Symbol.js index 1c3121068857446fc4eadc2c16d8055361b25535..11697cc17aa959e029befa93ad452f4bd434b097 100644 --- a/src/chart/helper/Symbol.js +++ b/src/chart/helper/Symbol.js @@ -193,11 +193,10 @@ define(function (require) { ]); } + symbolPath.setStyle(itemStyle); // PENDING setColor before setStyle symbolPath.setColor(color); - symbolPath.setStyle(itemStyle); - var opacity = data.getItemVisual(idx, 'opacity'); if (opacity != null) { elStyle.opacity = opacity;