Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
ef7ff307
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,发现更多精彩内容 >>
提交
ef7ff307
编写于
10月 28, 2014
作者:
K
kener
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
testall add eventRiver
上级
9f09e634
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
210 addition
and
3 deletion
+210
-3
test/allchart/all.html
test/allchart/all.html
+205
-0
test/allchart/all.js
test/allchart/all.js
+5
-3
未找到文件。
test/allchart/all.html
浏览文件 @
ef7ff307
...
...
@@ -1757,6 +1757,211 @@ option = {
</div>
<!--/row-->
</div>
<!--/.fluid-container-->
<!--------11:eventRiver--------->
<div
class=
"container-fluid"
idx=
'11'
>
<div
class=
"row-fluid"
>
<div
md=
"sidebar-code"
class=
"span4"
>
<div
class=
"well sidebar-nav"
>
<div
class=
"nav-header"
><a
href=
"#"
onclick=
"autoResize()"
class=
"icon-resize-full"
md =
"icon-resize"
></a>
option
</div>
<textarea
md=
"code"
name=
"code"
>
option = {
title : {
text: 'Event River',
subtext: '纯属虚构'
},
tooltip : {
trigger: 'item'
},
legend: {
data:['财经事件']
},
toolbox: {
show : true,
feature : {
mark : {show: true},
restore : {show: true},
saveAsImage : {show: true}
}
},
xAxis : [
{
type : 'time',
boundaryGap: [0.05,0.1]
}
],
series : [
{
"name": "财经事件",
"type": "eventRiver",
"weight": 123,
"eventList": [
{
"name": "阿里巴巴上市",
"weight": 123,
"evolution": [
{
"time": "2014-05-01",
"value": 14,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-02",
"value": 34,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-03",
"value": 60,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-04",
"value": 40,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-05",
"value": 10,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
}
]
},
{
"name": "阿里巴巴上市2",
"weight": 123,
"evolution": [
{
"time": "2014-05-02",
"value": 10,
"detail": {
"link": "www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-03",
"value": 34,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-04",
"value": 40,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-05",
"value": 10,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
}
]
},
{
"name": "三星业绩暴跌",
"weight": 123,
"evolution": [
{
"time": "2014-05-03",
"value": 24,
"detail": {
"link": "www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-04",
"value": 34,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-05",
"value": 50,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-06",
"value": 30,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
},
{
"time": "2014-05-07",
"value": 20,
"detail": {
"link": "http://www.baidu.com",
"text": "百度指数",
"img": '../../doc/asset/ico/favicon.png'
}
}
]
}
],
markPoint : {
symbol: 'emptyCircle',
data : [
{name : '打酱油的标注', value : 100, x:'5%', y:'50%', symbolSize:32},
{name : '打酱油的标注', value : 100, x:'95%', y:'50%', symbolSize:32}
]
}
}
]
};
</textarea>
</div>
<!--/.well -->
</div>
<!--/span-->
<div
md=
"graphic"
class=
"span8"
>
<div
md=
"main"
class=
"main"
></div>
<div>
<button
onclick=
"refresh(true, 11)"
>
Refresh ~
</button>
<span
md=
'wrong-message'
style=
"color:red"
></span>
</div>
</div>
<!--/span-->
</div>
<!--/row-->
</div>
<!--/.fluid-container-->
<hr>
<!-- FOOTER -->
<footer>
...
...
test/allchart/all.js
浏览文件 @
ef7ff307
...
...
@@ -84,7 +84,7 @@ function refreshAll() {
}
}
var
developMode
=
fals
e
;
var
developMode
=
tru
e
;
if
(
developMode
)
{
// for develop
require
.
config
({
...
...
@@ -119,7 +119,8 @@ else {
'
echarts/chart/chord
'
:
fileLocation
,
'
echarts/chart/force
'
:
fileLocation
,
'
echarts/chart/gauge
'
:
fileLocation
,
'
echarts/chart/funnel
'
:
fileLocation
'
echarts/chart/funnel
'
:
fileLocation
,
'
echarts/chart/eventRiver
'
:
fileLocation
}
});
}
...
...
@@ -138,7 +139,8 @@ require(
'
echarts/chart/chord
'
,
'
echarts/chart/map
'
,
'
echarts/chart/gauge
'
,
'
echarts/chart/funnel
'
'
echarts/chart/funnel
'
,
'
echarts/chart/eventRiver
'
],
requireCallback
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录