Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
90d037e7
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,发现更多精彩内容 >>
提交
90d037e7
编写于
6月 16, 2016
作者:
L
lang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix dataZoom elements z
上级
a74bb6c8
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
16 addition
and
6 deletion
+16
-6
src/component/dataZoom/SliderZoomView.js
src/component/dataZoom/SliderZoomView.js
+6
-3
test/parallel-nutrients.html
test/parallel-nutrients.html
+4
-2
test/theme.html
test/theme.html
+6
-1
未找到文件。
src/component/dataZoom/SliderZoomView.js
浏览文件 @
90d037e7
...
...
@@ -146,9 +146,10 @@ define(function (require) {
var
barGroup
=
this
.
_displayables
.
barGroup
=
new
graphic
.
Group
();
this
.
_renderBackground
();
this
.
_renderHandle
();
this
.
_renderBackground
();
this
.
_renderDataShadow
();
thisGroup
.
add
(
barGroup
);
...
...
@@ -256,7 +257,8 @@ define(function (require) {
},
style
:
{
fill
:
dataZoomModel
.
get
(
'
backgroundColor
'
)
}
},
z2
:
-
40
}));
},
...
...
@@ -462,7 +464,8 @@ define(function (require) {
textAlign
:
'
center
'
,
fill
:
textStyleModel
.
getTextColor
(),
textFont
:
textStyleModel
.
getFont
()
}
},
z2
:
10
}));
},
this
);
...
...
test/parallel-nutrients.html
浏览文件 @
90d037e7
...
...
@@ -34,7 +34,7 @@
'
echarts/component/legend
'
,
'
echarts/component/tooltip
'
,
'
echarts/component/toolbox
'
,
'
echarts/component/visualMap
'
,
'
echarts/component/visualMap
'
],
function
(
ec
,
ct
)
{
$
.
getJSON
(
'
./data/nutrients.json
'
,
function
(
data
)
{
...
...
@@ -45,7 +45,9 @@
chart
=
myChart
=
echarts
.
init
(
document
.
getElementById
(
'
main
'
));
console
.
time
(
'
render
'
);
chart
.
setOption
(
getOption
(
data
));
console
.
timeEnd
(
'
render
'
);
chart
.
on
(
'
axisAreaSelected
'
,
function
(
event
)
{
// var indices = chart.getModel().getSeries()[0].getRawIndicesByActiveState('active');
...
...
@@ -231,7 +233,7 @@
lineStyle
:
lineStyle
,
inactiveOpacity
:
0
,
activeOpacity
:
0.01
,
progressive
:
1
00
,
progressive
:
5
00
,
smooth
:
true
,
data
:
data
}
...
...
test/theme.html
浏览文件 @
90d037e7
...
...
@@ -26,7 +26,8 @@
'
echarts/chart/bar
'
,
'
echarts/component/legend
'
,
'
echarts/component/grid
'
,
'
echarts/component/tooltip
'
'
echarts/component/tooltip
'
,
'
echarts/component/dataZoom
'
],
function
(
echarts
,
theme
)
{
var
chart
=
echarts
.
init
(
document
.
getElementById
(
'
main
'
),
'
dark
'
);
...
...
@@ -75,6 +76,10 @@
align
:
'
right
'
},
tooltip
:
{},
dataZoom
:
{
start
:
10
,
end
:
20
},
xAxis
:
{
data
:
xAxisData
,
axisLine
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录