Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
75b2a4ce
I
incubator-echarts
项目概览
x649585723
/
incubator-echarts
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
incubator-echarts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
75b2a4ce
编写于
11月 05, 2013
作者:
K
kener
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build 1.3.0 release
上级
c6fea6b9
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
70 addition
and
46 deletion
+70
-46
build/echarts-map.js
build/echarts-map.js
+1
-1
build/echarts-original-map.js
build/echarts-original-map.js
+17
-11
build/echarts-original.js
build/echarts-original.js
+17
-11
doc/example/www/js/echarts-map.js
doc/example/www/js/echarts-map.js
+1
-1
doc/example/www/js/echarts-original-map.js
doc/example/www/js/echarts-original-map.js
+17
-11
doc/example/www/js/echarts-original.js
doc/example/www/js/echarts-original.js
+17
-11
未找到文件。
build/echarts-map.js
浏览文件 @
75b2a4ce
此差异已折叠。
点击以展开。
build/echarts-original-map.js
浏览文件 @
75b2a4ce
...
...
@@ -17307,7 +17307,7 @@ define('echarts/component/legend',['require','./base','../config','zrender/tool/
cpX2 : x,
cpY2 : y + 4,
xEnd : x + width,
yEnd : y + 4
,
yEnd : y + 4
});
ctx.lineTo(x + width, y);
beziercurve.buildPath(ctx, {
...
...
@@ -17318,7 +17318,7 @@ define('echarts/component/legend',['require','./base','../config','zrender/tool/
cpX2 : x + width,
cpY2 : y + height - 4,
xEnd : x,
yEnd : y + height - 4
,
yEnd : y + height - 4
});
ctx.lineTo(x, y + height);
/*
...
...
@@ -25421,6 +25421,11 @@ define('echarts/util/shape/chord',['require','zrender/tool/util','zrender/shape/
(cy - ty0) * 0.70 + ty0,
tx0, ty0
);
// Chord to self
if (style.source0 === style.target0 &&
style.source1 === style.target1) {
return;
}
ctx.arc(cx, cy, style.r, t0, t1, false);
ctx.bezierCurveTo(
(cx - tx1) * 0.70 + tx1,
...
...
@@ -28011,9 +28016,9 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
case 'ascending':
case 'descending':
var groupIndices = groupAngles
.argsort(
{order : sortGroups}
);
groupAngles
.sort({order : sortGroups}
);
sumOut
.sort({order : sortGroups}
);
.argsort(
0, sortGroups
);
groupAngles
['sort'](0, sortGroups
);
sumOut
['sort'](0, sortGroups
);
break;
default:
var groupIndices = NDArray.range(shape[0]);
...
...
@@ -28023,8 +28028,8 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
case 'ascending':
case 'descending':
var subGroupIndices = subGroupAngles
.argsort(1,
{order : sortSubGroups}
);
subGroupAngles
.sort(1, {order : sortSubGroups}
);
.argsort(1,
sortSubGroups
);
subGroupAngles
['sort'](1, sortSubGroups
);
break;
default:
var subGroupIndices = NDArray
...
...
@@ -28206,7 +28211,6 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
var group = groups[i];
var angle = angles[i];
var _start = (clockWise ? (360 - angle[1]) : angle[0])
+ startAngle;
var _end = (clockWise ? (360 - angle[0]) : angle[1])
...
...
@@ -28340,9 +28344,11 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
var color;
if (len2 === 1) {
color = angleIJ1 - angleIJ0 < angleJI1 - angleJI0
? getColor(groups[i].name)
: getColor(groups[j].name);
if (angleIJ1 - angleIJ0 <= angleJI1 - angleJI0) {
color = getColor(groups[i].name);
} else {
color = getColor(groups[j].name);
}
} else {
color = getColor(chordSeries[k].name);
}
build/echarts-original.js
浏览文件 @
75b2a4ce
...
...
@@ -17307,7 +17307,7 @@ define('echarts/component/legend',['require','./base','../config','zrender/tool/
cpX2 : x,
cpY2 : y + 4,
xEnd : x + width,
yEnd : y + 4
,
yEnd : y + 4
});
ctx.lineTo(x + width, y);
beziercurve.buildPath(ctx, {
...
...
@@ -17318,7 +17318,7 @@ define('echarts/component/legend',['require','./base','../config','zrender/tool/
cpX2 : x + width,
cpY2 : y + height - 4,
xEnd : x,
yEnd : y + height - 4
,
yEnd : y + height - 4
});
ctx.lineTo(x, y + height);
/*
...
...
@@ -25421,6 +25421,11 @@ define('echarts/util/shape/chord',['require','zrender/tool/util','zrender/shape/
(cy - ty0) * 0.70 + ty0,
tx0, ty0
);
// Chord to self
if (style.source0 === style.target0 &&
style.source1 === style.target1) {
return;
}
ctx.arc(cx, cy, style.r, t0, t1, false);
ctx.bezierCurveTo(
(cx - tx1) * 0.70 + tx1,
...
...
@@ -28011,9 +28016,9 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
case 'ascending':
case 'descending':
var groupIndices = groupAngles
.argsort(
{order : sortGroups}
);
groupAngles
.sort({order : sortGroups}
);
sumOut
.sort({order : sortGroups}
);
.argsort(
0, sortGroups
);
groupAngles
['sort'](0, sortGroups
);
sumOut
['sort'](0, sortGroups
);
break;
default:
var groupIndices = NDArray.range(shape[0]);
...
...
@@ -28023,8 +28028,8 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
case 'ascending':
case 'descending':
var subGroupIndices = subGroupAngles
.argsort(1,
{order : sortSubGroups}
);
subGroupAngles
.sort(1, {order : sortSubGroups}
);
.argsort(1,
sortSubGroups
);
subGroupAngles
['sort'](1, sortSubGroups
);
break;
default:
var subGroupIndices = NDArray
...
...
@@ -28206,7 +28211,6 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
var group = groups[i];
var angle = angles[i];
var _start = (clockWise ? (360 - angle[1]) : angle[0])
+ startAngle;
var _end = (clockWise ? (360 - angle[0]) : angle[1])
...
...
@@ -28340,9 +28344,11 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
var color;
if (len2 === 1) {
color = angleIJ1 - angleIJ0 < angleJI1 - angleJI0
? getColor(groups[i].name)
: getColor(groups[j].name);
if (angleIJ1 - angleIJ0 <= angleJI1 - angleJI0) {
color = getColor(groups[i].name);
} else {
color = getColor(groups[j].name);
}
} else {
color = getColor(chordSeries[k].name);
}
doc/example/www/js/echarts-map.js
浏览文件 @
75b2a4ce
此差异已折叠。
点击以展开。
doc/example/www/js/echarts-original-map.js
浏览文件 @
75b2a4ce
...
...
@@ -17307,7 +17307,7 @@ define('echarts/component/legend',['require','./base','../config','zrender/tool/
cpX2 : x,
cpY2 : y + 4,
xEnd : x + width,
yEnd : y + 4
,
yEnd : y + 4
});
ctx.lineTo(x + width, y);
beziercurve.buildPath(ctx, {
...
...
@@ -17318,7 +17318,7 @@ define('echarts/component/legend',['require','./base','../config','zrender/tool/
cpX2 : x + width,
cpY2 : y + height - 4,
xEnd : x,
yEnd : y + height - 4
,
yEnd : y + height - 4
});
ctx.lineTo(x, y + height);
/*
...
...
@@ -25421,6 +25421,11 @@ define('echarts/util/shape/chord',['require','zrender/tool/util','zrender/shape/
(cy - ty0) * 0.70 + ty0,
tx0, ty0
);
// Chord to self
if (style.source0 === style.target0 &&
style.source1 === style.target1) {
return;
}
ctx.arc(cx, cy, style.r, t0, t1, false);
ctx.bezierCurveTo(
(cx - tx1) * 0.70 + tx1,
...
...
@@ -28011,9 +28016,9 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
case 'ascending':
case 'descending':
var groupIndices = groupAngles
.argsort(
{order : sortGroups}
);
groupAngles
.sort({order : sortGroups}
);
sumOut
.sort({order : sortGroups}
);
.argsort(
0, sortGroups
);
groupAngles
['sort'](0, sortGroups
);
sumOut
['sort'](0, sortGroups
);
break;
default:
var groupIndices = NDArray.range(shape[0]);
...
...
@@ -28023,8 +28028,8 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
case 'ascending':
case 'descending':
var subGroupIndices = subGroupAngles
.argsort(1,
{order : sortSubGroups}
);
subGroupAngles
.sort(1, {order : sortSubGroups}
);
.argsort(1,
sortSubGroups
);
subGroupAngles
['sort'](1, sortSubGroups
);
break;
default:
var subGroupIndices = NDArray
...
...
@@ -28206,7 +28211,6 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
var group = groups[i];
var angle = angles[i];
var _start = (clockWise ? (360 - angle[1]) : angle[0])
+ startAngle;
var _end = (clockWise ? (360 - angle[0]) : angle[1])
...
...
@@ -28340,9 +28344,11 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
var color;
if (len2 === 1) {
color = angleIJ1 - angleIJ0 < angleJI1 - angleJI0
? getColor(groups[i].name)
: getColor(groups[j].name);
if (angleIJ1 - angleIJ0 <= angleJI1 - angleJI0) {
color = getColor(groups[i].name);
} else {
color = getColor(groups[j].name);
}
} else {
color = getColor(chordSeries[k].name);
}
doc/example/www/js/echarts-original.js
浏览文件 @
75b2a4ce
...
...
@@ -17307,7 +17307,7 @@ define('echarts/component/legend',['require','./base','../config','zrender/tool/
cpX2 : x,
cpY2 : y + 4,
xEnd : x + width,
yEnd : y + 4
,
yEnd : y + 4
});
ctx.lineTo(x + width, y);
beziercurve.buildPath(ctx, {
...
...
@@ -17318,7 +17318,7 @@ define('echarts/component/legend',['require','./base','../config','zrender/tool/
cpX2 : x + width,
cpY2 : y + height - 4,
xEnd : x,
yEnd : y + height - 4
,
yEnd : y + height - 4
});
ctx.lineTo(x, y + height);
/*
...
...
@@ -25421,6 +25421,11 @@ define('echarts/util/shape/chord',['require','zrender/tool/util','zrender/shape/
(cy - ty0) * 0.70 + ty0,
tx0, ty0
);
// Chord to self
if (style.source0 === style.target0 &&
style.source1 === style.target1) {
return;
}
ctx.arc(cx, cy, style.r, t0, t1, false);
ctx.bezierCurveTo(
(cx - tx1) * 0.70 + tx1,
...
...
@@ -28011,9 +28016,9 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
case 'ascending':
case 'descending':
var groupIndices = groupAngles
.argsort(
{order : sortGroups}
);
groupAngles
.sort({order : sortGroups}
);
sumOut
.sort({order : sortGroups}
);
.argsort(
0, sortGroups
);
groupAngles
['sort'](0, sortGroups
);
sumOut
['sort'](0, sortGroups
);
break;
default:
var groupIndices = NDArray.range(shape[0]);
...
...
@@ -28023,8 +28028,8 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
case 'ascending':
case 'descending':
var subGroupIndices = subGroupAngles
.argsort(1,
{order : sortSubGroups}
);
subGroupAngles
.sort(1, {order : sortSubGroups}
);
.argsort(1,
sortSubGroups
);
subGroupAngles
['sort'](1, sortSubGroups
);
break;
default:
var subGroupIndices = NDArray
...
...
@@ -28206,7 +28211,6 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
var group = groups[i];
var angle = angles[i];
var _start = (clockWise ? (360 - angle[1]) : angle[0])
+ startAngle;
var _end = (clockWise ? (360 - angle[0]) : angle[1])
...
...
@@ -28340,9 +28344,11 @@ define('echarts/chart/chord',['require','../util/shape/chord','../component/base
var color;
if (len2 === 1) {
color = angleIJ1 - angleIJ0 < angleJI1 - angleJI0
? getColor(groups[i].name)
: getColor(groups[j].name);
if (angleIJ1 - angleIJ0 <= angleJI1 - angleJI0) {
color = getColor(groups[i].name);
} else {
color = getColor(groups[j].name);
}
} else {
color = getColor(chordSeries[k].name);
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录