Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
100pah committed Jun 30, 2016
1 parent 6c9b5e4 commit 79f1961
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/chart/parallel/ParallelSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ define(function(require) {

lineStyle: {
normal: {
width: 2,
width: 1,
opacity: 0.45,
type: 'solid'
}
Expand Down
3 changes: 2 additions & 1 deletion src/chart/treemap/TreemapSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ define(function(require) {

}
},
color: 'none', // Array. Specify color list of each level.
color: [], // Array. Specify color list of each level.
// level[0].color would be global color list.
colorAlpha: null, // Array. Specify color alpha range of each level, like [0.2, 0.8]
colorSaturation: null, // Array. Specify color saturation of each level, like [0.2, 0.5]
Expand Down Expand Up @@ -334,6 +334,7 @@ define(function(require) {
zrUtil.each(levels, function (levelDefine) {
var model = new Model(levelDefine);
var modelColor = model.get('color');

if (model.get('itemStyle.normal.color')
|| (modelColor && modelColor !== 'none')
) {
Expand Down

0 comments on commit 79f1961

Please sign in to comment.