Skip to content

Commit

Permalink
2.1.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kener committed Dec 8, 2014
1 parent bc1454e commit ad25a54
Show file tree
Hide file tree
Showing 9 changed files with 314 additions and 252 deletions.
2 changes: 1 addition & 1 deletion build/dist/chart/force.js

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions build/dist/echarts-all.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions build/dist/echarts.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions build/source/chart/force.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,19 @@ define('echarts/chart/force', [
} else if (node.fixY) {
position[1] = shape.position[1];
shape.position[0] = position[0];
} else if (isNaN(node.fixX - 0) == false && isNaN(node.fixY - 0) == false) {
shape.position[0] += (position[0] - shape.position[0]) * node.fixX;
position[0] = shape.position[0];
shape.position[1] += (position[1] - shape.position[1]) * node.fixY;
position[1] = shape.position[1];
} else if (isNaN(node.fixX - 0) == false) {
shape.position[0] += (position[0] - shape.position[0]) * node.fixX;
position[0] = shape.position[0];
shape.position[1] = position[1];
} else if (isNaN(node.fixY - 0) == false) {
shape.position[1] += (position[1] - shape.position[1]) * node.fixY;
position[1] = shape.position[1];
shape.position[0] = position[0];
} else {
vec2.copy(shape.position, position);
}
Expand Down
235 changes: 133 additions & 102 deletions build/source/echarts-all.js

Large diffs are not rendered by default.

222 changes: 120 additions & 102 deletions build/source/echarts.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/example/www/js/chart/force.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions doc/example/www/js/echarts.js

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions doc/example/www2/js/echarts-all.js

Large diffs are not rendered by default.

0 comments on commit ad25a54

Please sign in to comment.