Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
da8cbbe9
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,发现更多精彩内容 >>
提交
da8cbbe9
编写于
6月 27, 2017
作者:
S
sushuang
提交者:
GitHub
6月 27, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #6006 from zhuangzhuang/master
fix some doc bugs.
上级
34e41dfd
ec8bb164
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
27 addition
and
26 deletion
+27
-26
src/chart/bar/PictorialBarView.js
src/chart/bar/PictorialBarView.js
+1
-1
src/chart/chord/chordCircularLayout.js
src/chart/chord/chordCircularLayout.js
+2
-2
src/chart/custom.js
src/chart/custom.js
+1
-1
src/chart/helper/EffectSymbol.js
src/chart/helper/EffectSymbol.js
+1
-1
src/chart/sankey/sankeyLayout.js
src/chart/sankey/sankeyLayout.js
+1
-1
src/chart/themeRiver/themeRiverLayout.js
src/chart/themeRiver/themeRiverLayout.js
+1
-1
src/component/axisPointer/BaseAxisPointer.js
src/component/axisPointer/BaseAxisPointer.js
+2
-1
src/component/helper/BrushTargetManager.js
src/component/helper/BrushTargetManager.js
+1
-1
src/component/toolbox/feature/DataView.js
src/component/toolbox/feature/DataView.js
+2
-2
src/component/tooltip/TooltipView.js
src/component/tooltip/TooltipView.js
+1
-1
src/coord/calendar/Calendar.js
src/coord/calendar/Calendar.js
+1
-1
src/coord/cartesian/Grid.js
src/coord/cartesian/Grid.js
+1
-1
src/data/List.js
src/data/List.js
+1
-1
src/data/Tree.js
src/data/Tree.js
+1
-1
src/echarts.js
src/echarts.js
+4
-4
src/util/format.js
src/util/format.js
+3
-3
src/visual/VisualMapping.js
src/visual/VisualMapping.js
+1
-1
test/chord.html
test/chord.html
+2
-2
未找到文件。
src/chart/bar/PictorialBarView.js
浏览文件 @
da8cbbe9
...
...
@@ -425,7 +425,7 @@ define(function (require) {
path
.
__pictorialRepeatTimes
=
repeatTimes
;
bundle
.
add
(
path
);
var
target
=
makeTarget
(
index
,
true
);
var
target
=
makeTarget
(
index
);
updateAttr
(
path
,
...
...
src/chart/chord/chordCircularLayout.js
浏览文件 @
da8cbbe9
...
...
@@ -47,7 +47,7 @@ define(function (require) {
if
(
opts
.
sort
&&
opts
.
sort
!=
'
none
'
)
{
groups
.
sort
(
compareGroups
);
if
(
opts
.
sort
===
'
descending
'
)
{
groups
.
rever
t
();
groups
.
rever
se
();
}
}
...
...
@@ -58,7 +58,7 @@ define(function (require) {
if
(
opts
.
sortSub
&&
opts
.
sortSub
!=
'
none
'
)
{
group
.
subGroups
.
sort
(
compareGroups
);
if
(
opts
.
sortSub
===
'
descending
'
)
{
group
.
subGroups
.
rever
t
();
group
.
subGroups
.
rever
se
();
}
}
...
...
src/chart/custom.js
浏览文件 @
da8cbbe9
...
...
@@ -296,7 +296,7 @@ define(function (require) {
/**
* @public
* @param {nu
bm
er|string} dim
* @param {nu
mb
er|string} dim
* @param {number} [dataIndexInside=currDataIndexInside]
* @return {number|string} value
*/
...
...
src/chart/helper/EffectSymbol.js
浏览文件 @
da8cbbe9
...
...
@@ -112,7 +112,7 @@ define(function (require) {
// Must reinitialize effect if following configuration changed
var
DIFFICULT_PROPS
=
[
'
symbolType
'
,
'
period
'
,
'
rippleScale
'
];
for
(
var
i
=
0
;
i
<
DIFFICULT_PROPS
;
i
++
)
{
for
(
var
i
=
0
;
i
<
DIFFICULT_PROPS
.
length
;
i
++
)
{
var
propName
=
DIFFICULT_PROPS
[
i
];
if
(
oldEffectCfg
[
propName
]
!==
effectCfg
[
propName
])
{
this
.
stopEffectAnimation
();
...
...
src/chart/sankey/sankeyLayout.js
浏览文件 @
da8cbbe9
...
...
@@ -144,7 +144,7 @@ define(function (require) {
* @param {module:echarts/data/Graph~Node} nodes node of sankey view
* @param {module:echarts/data/Graph~Edge} edges edge of sankey view
* @param {number} height the whole height of the area to draw the view
* @param {numb
b
er} nodeGap the vertical distance between two nodes
* @param {number} nodeGap the vertical distance between two nodes
* in the same column.
* @param {number} iterations the number of iterations for the algorithm
*/
...
...
src/chart/themeRiver/themeRiverLayout.js
浏览文件 @
da8cbbe9
...
...
@@ -103,7 +103,7 @@ define(function (require) {
* Inspired by Lee Byron's paper Stacked Graphs - Geometry & Aesthetics
*
* @param {Array.<Array>} data the points in each layer
* @return {
Array
}
* @return {
Object
}
*/
function
computeBaseline
(
data
)
{
var
layerNum
=
data
.
length
;
...
...
src/component/axisPointer/BaseAxisPointer.js
浏览文件 @
da8cbbe9
...
...
@@ -476,7 +476,8 @@ define(function(require) {
if
(
zrUtil
.
isObject
(
lastProps
)
&&
zrUtil
.
isObject
(
newProps
))
{
var
equals
=
true
;
zrUtil
.
each
(
newProps
,
function
(
item
,
key
)
{
equals
&=
propsEqual
(
lastProps
[
key
],
item
);
// ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_Operators
equals
=
equals
&&
propsEqual
(
lastProps
[
key
],
item
);
});
return
!!
equals
;
}
...
...
src/component/helper/BrushTargetManager.js
浏览文件 @
da8cbbe9
...
...
@@ -200,7 +200,7 @@ define(function(require) {
*
* @param {Object} area
* @param {Array} targetInfoList
* @return {Ob
ej
ct|boolean}
* @return {Ob
je
ct|boolean}
*/
proto
.
findTargetInfo
=
function
(
area
,
ecModel
)
{
var
targetInfoList
=
this
.
_targetInfoList
;
...
...
src/component/toolbox/feature/DataView.js
浏览文件 @
da8cbbe9
...
...
@@ -120,7 +120,7 @@ define(function (require) {
/**
* @param {module:echarts/model/Global}
* @return {
string
}
* @return {
Object
}
* @inner
*/
function
getContentFromModel
(
ecModel
)
{
...
...
@@ -157,7 +157,7 @@ define(function (require) {
var
itemSplitRegex
=
new
RegExp
(
'
[
'
+
ITEM_SPLITER
+
'
]+
'
,
'
g
'
);
/**
* @param {string} tsv
* @return {
Array.<Object>
}
* @return {
Object
}
*/
function
parseTSVContents
(
tsv
)
{
var
tsvLines
=
tsv
.
split
(
/
\n
+/g
);
...
...
src/component/tooltip/TooltipView.js
浏览文件 @
da8cbbe9
...
...
@@ -532,7 +532,7 @@ define(function (require) {
},
/**
* @param {string|Function|Array.<number>} positionExpr
* @param {string|Function|Array.<number>
|Object
} positionExpr
* @param {number} x Mouse x
* @param {number} y Mouse y
* @param {boolean} confine Whether confine tooltip content in view rect.
...
...
src/coord/calendar/Calendar.js
浏览文件 @
da8cbbe9
...
...
@@ -256,7 +256,7 @@ define(function (require) {
/**
* Convert a (x, y) point to time date
*
* @param {
string
} point point
* @param {
Array
} point point
* @return {Object} date
*/
pointToDate
:
function
(
point
)
{
...
...
src/coord/cartesian/Grid.js
浏览文件 @
da8cbbe9
...
...
@@ -190,7 +190,7 @@ define(function(require, factory) {
/**
* @param {string} axisType
* @param {n
d
umber} [axisIndex]
* @param {number} [axisIndex]
*/
gridProto
.
getAxis
=
function
(
axisType
,
axisIndex
)
{
var
axesMapOnDim
=
this
.
_axesMap
[
axisType
];
...
...
src/data/List.js
浏览文件 @
da8cbbe9
...
...
@@ -983,7 +983,7 @@ define(function (require) {
/**
* Set layout property.
* @param {string} key
* @param {string
|Object
} key
* @param {*} [val]
*/
listProto
.
setLayout
=
function
(
key
,
val
)
{
...
...
src/data/Tree.js
浏览文件 @
da8cbbe9
...
...
@@ -405,7 +405,7 @@ define(function(require) {
* }
*
* @static
* @param {Objec} dataRoot Root node.
* @param {Objec
t
} dataRoot Root node.
* @param {module:echarts/model/Model} hostModel
* @param {Array.<Object>} levelOptions
* @return module:echarts/data/Tree
...
...
src/echarts.js
浏览文件 @
da8cbbe9
...
...
@@ -114,7 +114,7 @@ define(function (require) {
*/
this
.
group
;
/**
* @type {HTML
Dom
Element}
* @type {HTMLElement}
* @private
*/
this
.
_dom
=
dom
;
...
...
@@ -228,7 +228,7 @@ define(function (require) {
}
};
/**
* @return {HTML
Dom
Element}
* @return {HTMLElement}
*/
echartsProto
.
getDom
=
function
()
{
return
this
.
_dom
;
...
...
@@ -1564,7 +1564,7 @@ define(function (require) {
}
/**
* @param {HTML
Dom
Element} dom
* @param {HTMLElement} dom
* @param {Object} [theme]
* @param {Object} opts
* @param {number} [opts.devicePixelRatio] Use window.devicePixelRatio by default
...
...
@@ -1681,7 +1681,7 @@ define(function (require) {
};
/**
* @param {HTML
Dom
Element} dom
* @param {HTMLElement} dom
* @return {echarts~ECharts}
*/
echarts
.
getInstanceByDom
=
function
(
dom
)
{
...
...
src/util/format.js
浏览文件 @
da8cbbe9
...
...
@@ -45,12 +45,12 @@ define(function (require) {
* [4, 3, 2] => [4, 3, 2, 3]
* @param {number|Array.<number>} val
*/
formatUtil
.
normalizeCssArray
=
function
(
val
)
{
var
len
=
val
.
length
;
formatUtil
.
normalizeCssArray
=
function
(
val
)
{
if
(
typeof
(
val
)
===
'
number
'
)
{
return
[
val
,
val
,
val
,
val
];
}
else
if
(
len
===
2
)
{
var
len
=
val
.
length
;
if
(
len
===
2
)
{
// vertical | horizontal
return
[
val
[
0
],
val
[
1
],
val
[
0
],
val
[
1
]];
}
...
...
src/visual/VisualMapping.js
浏览文件 @
da8cbbe9
...
...
@@ -471,7 +471,7 @@ define(function (require) {
/**
* @public
* @param {Object} obj
* @return {Oject} new object containers visual values.
* @return {O
b
ject} new object containers visual values.
* If no visuals, return null.
*/
VisualMapping
.
retrieveVisuals
=
function
(
obj
)
{
...
...
test/chord.html
浏览文件 @
da8cbbe9
...
...
@@ -26,7 +26,7 @@
],
function
(
echarts
)
{
var
chart
=
echarts
.
init
(
document
.
getElementById
(
'
main
'
));
chart
.
setOption
({
chart
.
setOption
({
tooltip
:
{
trigger
:
'
axis
'
,
axisPointer
:
{
...
...
@@ -36,7 +36,7 @@
series
:
[{
name
:
'
chord
'
,
type
:
'
chord
'
,
sort
:
'
a
scending
'
,
sort
:
'
de
scending
'
,
data
:
[
{
name
:
'
group1
'
},
{
name
:
'
group2
'
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录