Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
34ff4c7f
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,发现更多精彩内容 >>
提交
34ff4c7f
编写于
4月 28, 2018
作者:
S
sushuang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add 3rd party license to each file.
上级
40949ae5
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
39 addition
and
3 deletion
+39
-3
LICENSE
LICENSE
+1
-1
src/chart/graph/forceHelper.js
src/chart/graph/forceHelper.js
+7
-0
src/chart/tree/layoutHelper.js
src/chart/tree/layoutHelper.js
+7
-0
src/chart/treemap/treemapLayout.js
src/chart/treemap/treemapLayout.js
+10
-1
src/scale/Time.js
src/scale/Time.js
+7
-1
src/util/array/nest.js
src/util/array/nest.js
+7
-0
未找到文件。
LICENSE
浏览文件 @
34ff4c7f
...
...
@@ -209,7 +209,7 @@
Apache ECharts Subcomponents:
The Apache ECharts project contains subcomponents with separate copyright
notices and license terms. Your use of the source code for the
the
se
notices and license terms. Your use of the source code for these
subcomponents is subject to the terms and conditions of the following
licenses.
...
...
src/chart/graph/forceHelper.js
浏览文件 @
34ff4c7f
...
...
@@ -17,6 +17,13 @@
* under the License.
*/
/*
* The layout implementation references to d3.js. The use of
* the source code of this file is also subject to the terms
* and consitions of its license (BSD-3Clause, see
* <echarts/src/licenses/LICENSE-d3>).
*/
import
*
as
vec2
from
'
zrender/src/core/vector
'
;
var
scaleAndAdd
=
vec2
.
scaleAndAdd
;
...
...
src/chart/tree/layoutHelper.js
浏览文件 @
34ff4c7f
...
...
@@ -17,6 +17,13 @@
* under the License.
*/
/*
* The tree layout implementation references to d3.js
* (https://github.com/d3/d3-hierarchy). The use of the source
* code of this file is also subject to the terms and consitions
* of its license (BSD-3Clause, see <echarts/src/licenses/LICENSE-d3>).
*/
/**
* @file The layout algorithm of node-link tree diagrams. Here we using Reingold-Tilford algorithm to drawing
* the tree.
...
...
src/chart/treemap/treemapLayout.js
浏览文件 @
34ff4c7f
...
...
@@ -17,6 +17,14 @@
* under the License.
*/
/*
* The treemap layout implementation references to the treemap
* layout of d3.js (d3/src/layout/treemap.js in v3). The use of
* the source code of this file is also subject to the terms
* and consitions of its license (BSD-3Clause, see
* <echarts/src/licenses/LICENSE-d3>).
*/
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
BoundingRect
from
'
zrender/src/core/BoundingRect
'
;
import
{
parsePercent
,
MAX_SAFE_INTEGER
}
from
'
../../util/number
'
;
...
...
@@ -144,7 +152,8 @@ export default {
/**
* Layout treemap with squarify algorithm.
* @see https://graphics.ethz.ch/teaching/scivis_common/Literature/squarifiedTreeMaps.pdf
* @see https://github.com/mbostock/d3/blob/master/src/layout/treemap.js
* The implementation references to the treemap layout of d3.js.
* See the license statement at the head of this file.
*
* @protected
* @param {module:echarts/data/Tree~TreeNode} node
...
...
src/scale/Time.js
浏览文件 @
34ff4c7f
...
...
@@ -17,6 +17,12 @@
* under the License.
*/
/*
* The `scaleLevels` references to d3.js. The use of the source
* code of this file is also subject to the terms and consitions
* of its license (BSD-3Clause, see <echarts/src/licenses/LICENSE-d3>).
*/
// [About UTC and local time zone]:
// In most cases, `number.parseDate` will treat input data string as local time
// (except time zone is specified in time string). And `format.formateTime` returns
...
...
@@ -165,7 +171,7 @@ zrUtil.each(['contain', 'normalize'], function (methodName) {
};
});
// Steps from d3
// Steps from d3
, see the license statement at the top of this file.
var
scaleLevels
=
[
// Format interval
[
'
hh:mm:ss
'
,
ONE_SECOND
],
// 1s
...
...
src/util/array/nest.js
浏览文件 @
34ff4c7f
...
...
@@ -17,6 +17,13 @@
* under the License.
*/
/*
* The implementation references to d3.js. The use of the source
* code of this file is also subject to the terms and consitions
* of its license (BSD-3Clause, see <echarts/src/licenses/LICENSE-d3>).
*/
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录