Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
6d32b03e
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,发现更多精彩内容 >>
提交
6d32b03e
编写于
12月 29, 2017
作者:
S
sushuang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tweak dataShadow
上级
9be4c409
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
6 addition
and
13 deletion
+6
-13
src/component/dataZoom/SliderZoomView.js
src/component/dataZoom/SliderZoomView.js
+0
-5
src/echarts.js
src/echarts.js
+6
-4
src/stream/Scheduler.js
src/stream/Scheduler.js
+0
-4
未找到文件。
src/component/dataZoom/SliderZoomView.js
浏览文件 @
6d32b03e
...
@@ -285,11 +285,6 @@ var SliderZoomView = DataZoomView.extend({
...
@@ -285,11 +285,6 @@ var SliderZoomView = DataZoomView.extend({
var
seriesModel
=
info
.
series
;
var
seriesModel
=
info
.
series
;
var
data
=
seriesModel
.
getRawData
();
var
data
=
seriesModel
.
getRawData
();
// FIXME rough. ???
if
(
data
.
count
()
>
1
e5
)
{
return
;
}
var
otherDim
=
seriesModel
.
getShadowDim
var
otherDim
=
seriesModel
.
getShadowDim
?
seriesModel
.
getShadowDim
()
// @see candlestick
?
seriesModel
.
getShadowDim
()
// @see candlestick
:
info
.
otherDim
;
:
info
.
otherDim
;
...
...
src/echarts.js
浏览文件 @
6d32b03e
...
@@ -278,14 +278,16 @@ echartsProto._onframe = function () {
...
@@ -278,14 +278,16 @@ echartsProto._onframe = function () {
updateStreamModes
(
this
,
ecModel
);
updateStreamModes
(
this
,
ecModel
);
// ??? coordSys create, consider cartesian?
// Do not update coordinate system here. Because that coord system update in
// But update coord will dirty all of the original layouts and rendering.
// each frame is not a good user experience. So we follow the rule that
// the extent of the coordinate system is determin in the first frame (the
// frame is executed immedietely after task reset.
// this._coordSysMgr.update(ecModel, api);
// this._coordSysMgr.update(ecModel, api);
// console.log('--- ec frame visual ---', remainTime);
// console.log('--- ec frame visual ---', remainTime);
scheduler
.
performVisualTasks
(
visualFuncs
,
ecModel
);
scheduler
.
performVisualTasks
(
visualFuncs
,
ecModel
);
render
(
this
,
this
.
_model
,
api
,
'
none
'
);
render
Series
(
this
,
this
.
_model
,
api
,
'
remain
'
);
remainTime
-=
(
+
new
Date
()
-
startTime
);
remainTime
-=
(
+
new
Date
()
-
startTime
);
}
}
...
@@ -1422,7 +1424,7 @@ function renderSeries(ecIns, ecModel, api, payload, dirtySeriesModels) {
...
@@ -1422,7 +1424,7 @@ function renderSeries(ecIns, ecModel, api, payload, dirtySeriesModels) {
chartView
.
__alive
=
true
;
chartView
.
__alive
=
true
;
var
renderTask
=
chartView
.
renderTask
;
var
renderTask
=
chartView
.
renderTask
;
payload
!==
'
none
'
&&
(
renderTask
.
context
.
payload
=
payload
);
payload
!==
'
remain
'
&&
(
renderTask
.
context
.
payload
=
payload
);
dirtySeriesModels
&&
renderTask
.
dirty
();
dirtySeriesModels
&&
renderTask
.
dirty
();
unfinished
|=
renderTask
.
perform
(
scheduler
.
getPerformArgs
(
renderTask
));
unfinished
|=
renderTask
.
perform
(
scheduler
.
getPerformArgs
(
renderTask
));
...
...
src/stream/Scheduler.js
浏览文件 @
6d32b03e
...
@@ -295,10 +295,6 @@ function overallTaskReset(context) {
...
@@ -295,10 +295,6 @@ function overallTaskReset(context) {
);
);
}
}
function
overallTaskPlan
(
context
)
{
return
'
reset
'
;
}
function
seriesTaskPlan
(
context
,
upstreamContext
)
{
function
seriesTaskPlan
(
context
,
upstreamContext
)
{
// ???! setData can be called in plan, progress, overalltask, how to deal with that
// ???! setData can be called in plan, progress, overalltask, how to deal with that
prepareData
(
context
,
upstreamContext
);
prepareData
(
context
,
upstreamContext
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录