Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
719f8375
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,发现更多精彩内容 >>
提交
719f8375
编写于
3月 21, 2014
作者:
K
kener
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
例子更新
上级
2d6a0335
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
86 addition
and
10 deletion
+86
-10
doc/example/k1.html
doc/example/k1.html
+42
-1
doc/example/mix8.html
doc/example/mix8.html
+42
-7
doc/example/scatter3.html
doc/example/scatter3.html
+2
-2
未找到文件。
doc/example/k1.html
浏览文件 @
719f8375
...
...
@@ -145,6 +145,11 @@ option = {
scale:true,
splitNumber: 9,
boundaryGap: [0.05, 0.05],
axisLabel: {
formatter: function(v) {
return Math.round(v/10000) + ' 万'
}
},
splitArea : {show : true}
}
],
...
...
@@ -173,7 +178,43 @@ option = {
11105205, 9202153, 9992016, 12035250, 11431155,
10354677, 10070399, 9164861, 9237718, 7114268,
7526158.5, 8105835, 7971452.5
]
],
markPoint : {
symbol: 'emptyPin',
itemStyle : {
normal : {
color:'#1e90ff',
label : {
show:true,
position:'top',
formatter: function(a,b,v) {
return Math.round(v/10000) + ' 万'
}
}
}
},
data : [
{type : 'max', name: '最大值', symbolSize:5},
{type : 'min', name: '最小值', symbolSize:5}
]
},
markLine : {
symbol : 'none',
itemStyle : {
normal : {
color:'#1e90ff',
label : {
show:true,
formatter: function(a,b,v) {
return Math.round(v/10000) + ' 万'
}
}
}
},
data : [
{type : 'average', name: '平均值'}
]
}
},
{
name:'上证指数',
...
...
doc/example/mix8.html
浏览文件 @
719f8375
...
...
@@ -100,7 +100,6 @@ option = {
tooltip : {
trigger: 'axis',
showDelay: 0, // 显示延迟,添加显示延迟可以避免频繁切换,单位ms
hideDelay: 0, // 隐藏延迟,单位ms
formatter: function(params) {
var res = params[0][1];
res += '
<br/>
' + params[0][0];
...
...
@@ -265,8 +264,7 @@ option = {
option2 = {
tooltip : {
trigger: 'axis',
showDelay: 0, // 显示延迟,添加显示延迟可以避免频繁切换,单位ms
hideDelay: 0 // 隐藏延迟,单位ms
showDelay: 0 // 显示延迟,添加显示延迟可以避免频繁切换,单位ms
},
legend: {
y : -30,
...
...
@@ -313,6 +311,11 @@ option2 = {
scale:true,
splitNumber: 3,
boundaryGap: [0.05, 0.05],
axisLabel: {
formatter: function(v) {
return Math.round(v/10000) + ' 万'
}
},
splitArea : {show : true}
}
],
...
...
@@ -340,7 +343,21 @@ option2 = {
11105205, 9202153, 9992016, 12035250, 11431155,
10354677, 10070399, 9164861, 9237718, 7114268,
7526158.5, 8105835, 7971452.5
]
],
markLine : {
symbol : 'none',
itemStyle : {
normal : {
color:'#1e90ff',
label : {
show:false
}
}
},
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
...
...
@@ -350,8 +367,7 @@ myChart2.setOption(option2);
option3 = {
tooltip : {
trigger: 'axis',
showDelay: 0, // 显示延迟,添加显示延迟可以避免频繁切换,单位ms
hideDelay: 0 // 隐藏延迟,单位ms
showDelay: 0 // 显示延迟,添加显示延迟可以避免频繁切换,单位ms
},
legend: {
y : -30,
...
...
@@ -398,6 +414,11 @@ option3 = {
scale:true,
splitNumber:3,
boundaryGap: [0.05, 0.05],
axisLabel: {
formatter: function(v) {
return Math.round(v/10000) + ' 万'
}
},
splitArea : {show : true}
}
],
...
...
@@ -425,7 +446,21 @@ option3 = {
105205, 920253, 999206, 203525, 435588,
103546, 703990, 964868, 923778, 742688,
752658, 805835, 797452
]
],
markLine : {
symbol : 'none',
itemStyle : {
normal : {
color:'#1e90ff',
label : {
show:false
}
}
},
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
...
...
doc/example/scatter3.html
浏览文件 @
719f8375
...
...
@@ -108,7 +108,7 @@ option = {
large: true,
data: (function() {
var d = [];
var len =
5
000;
var len =
10
000;
var x = 0;
while (len--) {
x = (Math.random() * 10).toFixed(3) - 0;
...
...
@@ -128,7 +128,7 @@ option = {
large: true,
data: (function() {
var d = [];
var len =
5
000;
var len =
10
000;
var x = 0;
while (len--) {
x = (Math.random() * 10).toFixed(3) - 0;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录