Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
1fdc7047
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,体验更适合开发者的 AI 搜索 >>
提交
1fdc7047
编写于
12月 29, 2015
作者:
L
lang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tweak
上级
37f198e7
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
21 addition
and
19 deletion
+21
-19
src/chart/funnel/funnelLayout.js
src/chart/funnel/funnelLayout.js
+1
-1
src/chart/graph/createView.js
src/chart/graph/createView.js
+1
-1
src/chart/sankey/sankeyLayout.js
src/chart/sankey/sankeyLayout.js
+1
-1
src/chart/treemap/Breadcrumb.js
src/chart/treemap/Breadcrumb.js
+4
-4
src/chart/treemap/TreemapSeries.js
src/chart/treemap/TreemapSeries.js
+4
-2
src/chart/treemap/treemapLayout.js
src/chart/treemap/treemapLayout.js
+1
-1
src/component/helper/listComponent.js
src/component/helper/listComponent.js
+1
-1
src/component/timeline/SliderTimelineView.js
src/component/timeline/SliderTimelineView.js
+1
-1
src/component/title.js
src/component/title.js
+1
-1
src/component/visualMap/VisualMapView.js
src/component/visualMap/VisualMapView.js
+1
-1
src/coord/cartesian/Grid.js
src/coord/cartesian/Grid.js
+1
-1
src/coord/geo/geoCreator.js
src/coord/geo/geoCreator.js
+1
-1
src/coord/parallel/Parallel.js
src/coord/parallel/Parallel.js
+1
-1
src/model/mixin/boxLayout.js
src/model/mixin/boxLayout.js
+1
-1
src/preprocessor/backwardCompat.js
src/preprocessor/backwardCompat.js
+1
-1
未找到文件。
src/chart/funnel/funnelLayout.js
浏览文件 @
1fdc7047
...
...
@@ -7,7 +7,7 @@ define(function (require) {
function
getViewRect
(
seriesModel
,
api
)
{
return
layout
.
getLayoutRect
(
seriesModel
.
getBoxLayout
Option
(),
{
seriesModel
.
getBoxLayout
Params
(),
{
width
:
api
.
getWidth
(),
height
:
api
.
getHeight
()
}
...
...
src/chart/graph/createView.js
浏览文件 @
1fdc7047
...
...
@@ -5,7 +5,7 @@ define(function (require) {
var
bbox
=
require
(
'
zrender/core/bbox
'
);
function
getViewRect
(
seriesModel
,
api
,
aspect
)
{
var
option
=
seriesModel
.
getBoxLayout
Option
();
var
option
=
seriesModel
.
getBoxLayout
Params
();
option
.
aspect
=
aspect
;
return
layout
.
getLayoutRect
(
option
,
{
width
:
api
.
getWidth
(),
...
...
src/chart/sankey/sankeyLayout.js
浏览文件 @
1fdc7047
...
...
@@ -41,7 +41,7 @@ define(function (require) {
*/
function
getViewRect
(
seriesModel
,
api
)
{
return
layout
.
getLayoutRect
(
seriesModel
.
getBoxLayout
Option
(),
{
seriesModel
.
getBoxLayout
Params
(),
{
width
:
api
.
getWidth
(),
height
:
api
.
getHeight
()
}
...
...
src/chart/treemap/Breadcrumb.js
浏览文件 @
1fdc7047
...
...
@@ -44,10 +44,10 @@
var
layoutParam
=
{
pos
:
{
x
:
model
.
get
(
'
x
'
),
x2
:
model
.
get
(
'
x2
'
),
y
:
model
.
get
(
'
y
'
),
y2
:
model
.
get
(
'
y2
'
)
left
:
model
.
get
(
'
left
'
),
right
:
model
.
get
(
'
right
'
),
top
:
model
.
get
(
'
top
'
),
bottom
:
model
.
get
(
'
bottom
'
)
},
box
:
{
width
:
api
.
getWidth
(),
...
...
src/chart/treemap/TreemapSeries.js
浏览文件 @
1fdc7047
...
...
@@ -40,8 +40,10 @@ define(function(require) {
breadcrumb
:
{
show
:
true
,
height
:
22
,
x
:
'
center
'
,
y
:
'
bottom
'
,
left
:
'
center
'
,
top
:
'
bottom
'
,
// right
// bottom
emptyItemWidth
:
25
,
// 空节点宽度
itemStyle
:
{
normal
:
{
...
...
src/chart/treemap/treemapLayout.js
浏览文件 @
1fdc7047
...
...
@@ -33,7 +33,7 @@ define(function (require) {
);
var
layoutInfo
=
layout
.
getLayoutRect
(
seriesModel
.
getBoxLayout
Option
(),
seriesModel
.
getBoxLayout
Params
(),
{
width
:
api
.
getWidth
(),
height
:
api
.
getHeight
()
...
...
src/component/helper/listComponent.js
浏览文件 @
1fdc7047
...
...
@@ -6,7 +6,7 @@ define(function (require) {
function
positionGroup
(
group
,
model
,
api
)
{
layout
.
positionGroup
(
group
,
model
.
getBoxLayout
Option
(),
group
,
model
.
getBoxLayout
Params
(),
{
width
:
api
.
getWidth
(),
height
:
api
.
getHeight
()
...
...
src/component/timeline/SliderTimelineView.js
浏览文件 @
1fdc7047
...
...
@@ -624,7 +624,7 @@ define(function (require) {
function
getViewRect
(
model
,
api
)
{
return
layout
.
getLayoutRect
(
model
.
getBoxLayout
Option
(),
model
.
getBoxLayout
Params
(),
{
width
:
api
.
getWidth
(),
height
:
api
.
getHeight
()
...
...
src/component/title.js
浏览文件 @
1fdc7047
...
...
@@ -132,7 +132,7 @@ define(function(require) {
// If no subText, but add subTextEl, there will be an empty line.
var
groupRect
=
group
.
getBoundingRect
();
var
layoutOption
=
titleModel
.
getBoxLayout
Option
();
var
layoutOption
=
titleModel
.
getBoxLayout
Params
();
layoutOption
.
width
=
groupRect
.
width
;
layoutOption
.
height
=
groupRect
.
height
;
var
layoutRect
=
layout
.
getLayoutRect
(
...
...
src/component/visualMap/VisualMapView.js
浏览文件 @
1fdc7047
...
...
@@ -171,7 +171,7 @@ define(function (require) {
layout
.
positionGroup
(
group
,
model
.
getBoxLayout
Option
(),
model
.
getBoxLayout
Params
(),
{
width
:
api
.
getWidth
(),
height
:
api
.
getHeight
()}
);
},
...
...
src/coord/cartesian/Grid.js
浏览文件 @
1fdc7047
...
...
@@ -87,7 +87,7 @@ define(function(require, factory) {
gridProto
.
resize
=
function
(
gridModel
,
api
)
{
var
gridRect
=
layout
.
getLayoutRect
(
gridModel
.
getBoxLayout
Option
(),
{
gridModel
.
getBoxLayout
Params
(),
{
width
:
api
.
getWidth
(),
height
:
api
.
getHeight
()
});
...
...
src/coord/geo/geoCreator.js
浏览文件 @
1fdc7047
...
...
@@ -17,7 +17,7 @@ define(function (require) {
function
resizeGeo
(
geoModel
,
api
)
{
var
rect
=
this
.
getBoundingRect
();
var
boxLayoutOption
=
geoModel
.
getBoxLayout
Option
();
var
boxLayoutOption
=
geoModel
.
getBoxLayout
Params
();
// 0.75 rate
boxLayoutOption
.
aspect
=
rect
.
width
/
rect
.
height
*
0.75
;
...
...
src/coord/parallel/Parallel.js
浏览文件 @
1fdc7047
...
...
@@ -117,7 +117,7 @@ define(function(require) {
*/
resize
:
function
(
parallelModel
,
api
)
{
this
.
_rect
=
layout
.
getLayoutRect
(
parallelModel
.
getBoxLayout
Option
(),
parallelModel
.
getBoxLayout
Params
(),
{
width
:
api
.
getWidth
(),
height
:
api
.
getHeight
()
...
...
src/model/mixin/boxLayout.js
浏览文件 @
1fdc7047
define
(
function
(
require
)
{
return
{
getBoxLayout
Option
:
function
()
{
getBoxLayout
Params
:
function
()
{
return
{
left
:
this
.
get
(
'
left
'
),
top
:
this
.
get
(
'
top
'
),
...
...
src/preprocessor/backwardCompat.js
浏览文件 @
1fdc7047
...
...
@@ -45,7 +45,7 @@ define(function (require) {
];
var
COMPATITABLE_COMPONENTS
=
[
'
grid
'
,
'
geo
'
,
'
parallel
'
,
'
legend
'
,
'
toolbox
'
,
'
title
'
,
'
visualMap
'
,
'
dataZoom
'
'
grid
'
,
'
geo
'
,
'
parallel
'
,
'
legend
'
,
'
toolbox
'
,
'
title
'
,
'
visualMap
'
,
'
dataZoom
'
,
'
timeline
'
];
var
COMPATITABLE_SERIES
=
[
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录