Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
92cbb80e
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,发现更多精彩内容 >>
提交
92cbb80e
编写于
5月 04, 2014
作者:
K
kener
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码优化
上级
546d60c7
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
11 addition
and
15 deletion
+11
-15
doc/example/map1.html
doc/example/map1.html
+1
-0
src/chart/island.js
src/chart/island.js
+1
-2
src/chart/k.js
src/chart/k.js
+1
-2
src/chart/map.js
src/chart/map.js
+1
-1
src/chart/pie.js
src/chart/pie.js
+2
-4
src/chart/radar.js
src/chart/radar.js
+1
-2
src/chart/scatter.js
src/chart/scatter.js
+1
-2
src/component/categoryAxis.js
src/component/categoryAxis.js
+1
-1
src/component/valueAxis.js
src/component/valueAxis.js
+1
-1
test/performance/option.js
test/performance/option.js
+1
-0
未找到文件。
doc/example/map1.html
浏览文件 @
92cbb80e
...
...
@@ -108,6 +108,7 @@ option = {
name: 'iphone3',
type: 'map',
mapType: 'china',
roam: true,
itemStyle:{
normal:{label:{show:true}},
emphasis:{label:{show:true}}
...
...
src/chart/island.js
浏览文件 @
92cbb80e
...
...
@@ -141,8 +141,7 @@ define(function (require) {
x
:
Math
.
round
(
this
.
shapeList
[
i
].
style
.
x
*
xScale
),
y
:
Math
.
round
(
this
.
shapeList
[
i
].
style
.
y
*
yScale
)
}
},
true
}
);
}
},
...
...
src/chart/k.js
浏览文件 @
92cbb80e
...
...
@@ -528,8 +528,7 @@ define(function (require) {
y
=
this
.
shapeList
[
i
].
style
.
y
[
0
];
this
.
zr
.
modShape
(
this
.
shapeList
[
i
].
id
,
{
scale
:
[
1
,
0
,
x
,
y
]
},
true
{
scale
:
[
1
,
0
,
x
,
y
]
}
);
this
.
zr
.
animate
(
this
.
shapeList
[
i
].
id
,
''
)
.
when
(
...
...
src/chart/map.js
浏览文件 @
92cbb80e
...
...
@@ -1005,7 +1005,7 @@ define(function (require) {
clearTimeout
(
this
.
_refreshDelayTicket
);
this
.
_refreshDelayTicket
=
setTimeout
(
function
(){
self
.
animationEffect
();
self
&&
self
.
shapeList
&&
self
.
animationEffect
();
},
100
);
...
...
src/chart/pie.js
浏览文件 @
92cbb80e
...
...
@@ -905,8 +905,7 @@ define(function (require) {
r0
:
0
,
r
:
0
}
},
true
}
);
serie
=
ecData
.
get
(
this
.
shapeList
[
i
],
'
series
'
);
...
...
@@ -939,8 +938,7 @@ define(function (require) {
this
.
shapeList
[
i
].
id
,
{
scale
:
[
0
,
0
,
x
,
y
]
},
true
}
);
this
.
zr
.
animate
(
this
.
shapeList
[
i
].
id
,
''
)
.
when
(
...
...
src/chart/radar.js
浏览文件 @
92cbb80e
...
...
@@ -448,8 +448,7 @@
this
.
shapeList
[
i
].
id
,
{
scale
:
[
0.1
,
0.1
,
x
,
y
]
},
true
}
);
this
.
zr
.
animate
(
item
.
id
,
''
)
...
...
src/chart/scatter.js
浏览文件 @
92cbb80e
...
...
@@ -499,8 +499,7 @@ define(function (require) {
this
.
shapeList
[
i
].
id
,
{
scale
:
[
0
,
0
,
x
,
y
]
},
true
}
);
this
.
zr
.
animate
(
this
.
shapeList
[
i
].
id
,
''
)
.
when
(
...
...
src/component/categoryAxis.js
浏览文件 @
92cbb80e
...
...
@@ -104,7 +104,7 @@ define(function (require) {
var
label
=
this
.
_getReformedLabel
(
i
)
+
''
;
var
wLen
=
(
label
.
match
(
/
\w
/g
)
||
''
).
length
;
var
oLen
=
label
.
length
-
wLen
;
labelSize
=
wLen
*
fontSize
/
2
+
oLen
*
fontSize
;
labelSize
=
wLen
*
fontSize
*
2
/
3
+
oLen
*
fontSize
;
}
if
(
labelSpace
<
labelSize
)
{
...
...
src/component/valueAxis.js
浏览文件 @
92cbb80e
...
...
@@ -593,7 +593,7 @@ define(function (require) {
this
.
_min
=
this
.
option
.
min
-
0
;
// 指定min忽略boundaryGay[0]
this
.
_max
=
this
.
option
.
max
-
0
;
// 指定max忽略boundaryGay[1]
customerDefine
=
true
;
_customerValue
();
this
.
_customerValue
();
}
},
...
...
test/performance/option.js
浏览文件 @
92cbb80e
...
...
@@ -25,6 +25,7 @@ function option(chartType, n) {
show
:
true
,
feature
:
{
mark
:
{
show
:
true
},
dataZoom
:
{
show
:
true
},
dataView
:
{
show
:
true
,
readOnly
:
false
},
magicType
:
{
show
:
true
,
type
:
[
'
line
'
,
'
bar
'
]},
restore
:
{
show
:
true
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录