提交 e7ed43fa 编写于 作者: P pah100

Merge branch 'master' of https://github.com/ecomfe/echarts

......@@ -99,7 +99,7 @@ define(function (require) {
if (symbolFrom) {
symbolFrom.attr('position', fromPos);
var tangent = line.tangentAt(0);
symbolFrom.attr('rotation', -Math.PI / 2 - Math.atan2(
symbolFrom.attr('rotation', Math.PI / 2 - Math.atan2(
tangent[1], tangent[0]
));
symbolFrom.attr('scale', [invScale * percent, invScale * percent]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册