Skip to content

Commit

Permalink
configurable effectFrameAlpha
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Jul 9, 2015
1 parent 6ebd815 commit d090108
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,7 @@ define(function (require) {
zlevel,
{
motionBlur: true,
lastFrameAlpha: 0.95
lastFrameAlpha: this.option.effectBlendAlpha
}
);
}
Expand Down
1 change: 1 addition & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ define(function() {
},
DRAG_ENABLE_TIME: 120, // 降低图表内元素拖拽敏感度,单位ms,不建议外部干预
EFFECT_ZLEVEL : 10, // 特效动画zlevel
effectBlendAlpha: 0.95,
// 主题,默认标志图形类型列表
symbolList: [
'circle', 'rectangle', 'triangle', 'diamond',
Expand Down

0 comments on commit d090108

Please sign in to comment.