Visitar URL original
1.1.1 release · sjava/echarts@0411c21 · GitHub
Skip to content

Commit 0411c21

Browse files
committed
1.1.1 release
图片导出,折线区域图描边优化
1 parent 8a826cd commit 0411c21

54 files changed

Lines changed: 368 additions & 206 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎doc/asset/img/doc/toolbox.png‎

681 Bytes
Loading

‎doc/asset/js/bootstrap-transition.js‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,8 @@
5757

5858
})
5959

60-
}(window.jQuery);
60+
}(window.jQuery);
61+
62+
var lrl = document.getElementById('last-release-link');
63+
lrl.href = 'https://github.com/ecomfe/echarts/archive/1.1.1.zip';
64+
lrl.innerHTML = 'ZIP (1.1.1)'

‎doc/changelog.html‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<li class="dropdown">
3939
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-download-alt icon-white"></i>Download <b class="caret"></b></a>
4040
<ul class="dropdown-menu">
41-
<li><a href="https://github.com/ecomfe/echarts/archive/1.1.0.zip">ZIP (1.1.0)</a></li>
41+
<li><a id="last-release-link" href=""> </a></li>
4242
<li><a href="https://github.com/ecomfe/echarts/archive/master.zip">ZIP (Latest)</a></li>
4343
</ul>
4444
</li>
@@ -50,7 +50,7 @@
5050
<li class="divider"></li>
5151
<!--li class="nav-header">Library</li-->
5252
<li><a href="http://ecomfe.github.io/zrender/index.html" target="_blank">ZRender</a></li>
53-
<li><a href="http://tangram.baidu.com/" target="_blank">Tangram</a></li>
53+
5454
</ul>
5555
</li>
5656
</ul>
@@ -64,17 +64,21 @@ <h2>修改记录</h2>
6464
<span>[+]新增 [-]删除 [^]升级 [#]修复 【】重要</span>
6565
<div class="row-fluid">
6666
<div>
67-
<h3>undergoing</h3>
67+
<h3>1.1.1</h3>
6868
<ul>
6969
<li>[+] [compoent] 新增Title组件,图表标题支持</li>
70+
<li>【+】 图片导出支持(IE8-不支持)</li>
7071
<li>[^] [line] 折线图主线支持阴影(IE8-不支持),调整symbo描边与主线等宽</li>
71-
<li>[^] [valueAxis] 支持数值坐标轴上显示项目文字</li>
72+
<li>[^] [valueAxis] 支持数值坐标轴上显示项目文字,边界值线条显示有货</li>
7273
<li>[^] [map] 数值计算方式支持均值和求和</li>
7374
<li>[^] Retina视网屏优化</li>
74-
<li>[#] [map] 修正福建省hover</li>
75+
<li>[^] [legend] 图例选择增加可控开关</li>
76+
<li>[#] [axis] 修正福建省hover</li>
7577
<li>[#] [tooltip] 修正气泡边界自动折行</li>
7678
<li>[#] [island] 修正拖拽折线图的empty symbo生成白色孤岛数据</li>
7779
<li>[#] [dataRange] 修正小数状态下的取整显示</li>
80+
<li>[#] [line] 折线堆积图描边修正</li>
81+
<li>【#】 数据修改后(拖拽,数据视图)的反向同步及restore还原修复</li>
7882
</ul>
7983
</div>
8084
<div>

‎doc/doc.html‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<li class="dropdown">
3838
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-download-alt icon-white"></i>Download <b class="caret"></b></a>
3939
<ul class="dropdown-menu">
40-
<li><a href="https://github.com/ecomfe/echarts/archive/1.1.0.zip">ZIP (1.1.0)</a></li>
40+
<li><a id="last-release-link" href=""> </a></li>
4141
<li><a href="https://github.com/ecomfe/echarts/archive/master.zip">ZIP (Latest)</a></li>
4242
</ul>
4343
</li>
@@ -49,7 +49,7 @@
4949
<li class="divider"></li>
5050
<!--li class="nav-header">Library</li-->
5151
<li><a href="http://ecomfe.github.io/zrender/index.html" target="_blank">ZRender</a></li>
52-
<li><a href="http://tangram.baidu.com/" target="_blank">Tangram</a></li>
52+
5353
</ul>
5454
</li>
5555
</ul>
@@ -812,6 +812,7 @@ <h4>toolbox<a name="Toolbox"> </a></h4>
812812
magicType:['line', 'bar'], // 图表类型切换,当前仅支持直角系下的折线图、柱状图转换,上图icon左数6/7,分别是切换折线图,切换柱形图
813813
dataView : true, // 数据视图,上图icon左数8,打开数据视图
814814
restore : true // 还原,复位原始图表,上图icon左数9,还原
815+
saveAsImage : true // 保存为图片,上图icon左数10,保存
815816
}
816817
</pre>
817818
</div>
@@ -843,6 +844,18 @@ <h4>toolbox<a name="Toolbox"> </a></h4>
843844
<li>['line', 'bar']</li>
844845
</ul>
845846
</li>
847+
<li>
848+
saveAsImage,保存图片(IE8-不支持)
849+
<ul>
850+
<li>简单传入true启动保存功能</li>
851+
<li>传入{Object}设置更多属性</li>
852+
<ul>
853+
<li>{string=} type 默认保存图片类型为'png',需改为'jpeg'</li>
854+
<li>{string=} name 指定图片名称,如不指定,则用图表title标题,如无title标题则图片名称默认为“ECharts”</li>
855+
<li>{string=} lang 非IE浏览器支持点击下载,有保存话术,默认是“点击保存”,可修改</li>
856+
</ul>
857+
</ul>
858+
</li>
846859
</ul>
847860

848861
<h4>tooltip<a name="Tooltip"> </a></h4>

‎doc/example.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<li class="dropdown">
4141
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-download-alt icon-white"></i>Download <b class="caret"></b></a>
4242
<ul class="dropdown-menu">
43-
<li><a href="https://github.com/ecomfe/echarts/archive/1.1.0.zip">ZIP (1.1.0)</a></li>
43+
<li><a id="last-release-link" href=""> </a></li>
4444
<li><a href="https://github.com/ecomfe/echarts/archive/master.zip">ZIP (Latest)</a></li>
4545
</ul>
4646
</li>
@@ -52,7 +52,7 @@
5252
<li class="divider"></li>
5353
<!--li class="nav-header">Library</li-->
5454
<li><a href="http://ecomfe.github.io/zrender/index.html" target="_blank">ZRender</a></li>
55-
<li><a href="http://tangram.baidu.com/" target="_blank">Tangram</a></li>
55+
5656
</ul>
5757
</li>
5858
</ul>

‎doc/example/axis.html‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<li class="dropdown">
4141
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-download-alt icon-white"></i>Download <b class="caret"></b></a>
4242
<ul class="dropdown-menu">
43-
<li><a href="https://github.com/ecomfe/echarts/archive/1.1.0.zip">ZIP (1.1.0)</a></li>
43+
<li><a id="last-release-link" href=""> </a></li>
4444
<li><a href="https://github.com/ecomfe/echarts/archive/master.zip">ZIP (Latest)</a></li>
4545
</ul>
4646
</li>
@@ -52,7 +52,7 @@
5252
<li class="divider"></li>
5353
<!--li class="nav-header">Library</li-->
5454
<li><a href="http://ecomfe.github.io/zrender/index.html" target="_blank">ZRender</a></li>
55-
<li><a href="http://tangram.baidu.com/" target="_blank">Tangram</a></li>
55+
5656
</ul>
5757
</li>
5858
</ul>
@@ -80,7 +80,8 @@
8080
mark : true,
8181
dataView : true,
8282
magicType:['line', 'bar'],
83-
restore : true
83+
restore : true,
84+
saveAsImage : true
8485
}
8586
},
8687
xAxis : [

‎doc/example/bar.html‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<li class="dropdown">
4141
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-download-alt icon-white"></i>Download <b class="caret"></b></a>
4242
<ul class="dropdown-menu">
43-
<li><a href="https://github.com/ecomfe/echarts/archive/1.1.0.zip">ZIP (1.1.0)</a></li>
43+
<li><a id="last-release-link" href=""> </a></li>
4444
<li><a href="https://github.com/ecomfe/echarts/archive/master.zip">ZIP (Latest)</a></li>
4545
</ul>
4646
</li>
@@ -52,7 +52,7 @@
5252
<li class="divider"></li>
5353
<!--li class="nav-header">Library</li-->
5454
<li><a href="http://ecomfe.github.io/zrender/index.html" target="_blank">ZRender</a></li>
55-
<li><a href="http://tangram.baidu.com/" target="_blank">Tangram</a></li>
55+
5656
</ul>
5757
</li>
5858
</ul>
@@ -81,7 +81,8 @@
8181
mark : true,
8282
dataView : {readOnly: false},
8383
magicType:['line', 'bar'],
84-
restore : true
84+
restore : true,
85+
saveAsImage : true
8586
}
8687
},
8788
calculable : true,

‎doc/example/bar1.html‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<li class="dropdown">
4141
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-download-alt icon-white"></i>Download <b class="caret"></b></a>
4242
<ul class="dropdown-menu">
43-
<li><a href="https://github.com/ecomfe/echarts/archive/1.1.0.zip">ZIP (1.1.0)</a></li>
43+
<li><a id="last-release-link" href=""> </a></li>
4444
<li><a href="https://github.com/ecomfe/echarts/archive/master.zip">ZIP (Latest)</a></li>
4545
</ul>
4646
</li>
@@ -52,7 +52,7 @@
5252
<li class="divider"></li>
5353
<!--li class="nav-header">Library</li-->
5454
<li><a href="http://ecomfe.github.io/zrender/index.html" target="_blank">ZRender</a></li>
55-
<li><a href="http://tangram.baidu.com/" target="_blank">Tangram</a></li>
55+
5656
</ul>
5757
</li>
5858
</ul>
@@ -84,7 +84,8 @@
8484
mark : true,
8585
dataView : {readOnly: false},
8686
magicType:['line', 'bar'],
87-
restore : true
87+
restore : true,
88+
saveAsImage : true
8889
}
8990
},
9091
calculable : true,

‎doc/example/bar2.html‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<li class="dropdown">
4141
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-download-alt icon-white"></i>Download <b class="caret"></b></a>
4242
<ul class="dropdown-menu">
43-
<li><a href="https://github.com/ecomfe/echarts/archive/1.1.0.zip">ZIP (1.1.0)</a></li>
43+
<li><a id="last-release-link" href=""> </a></li>
4444
<li><a href="https://github.com/ecomfe/echarts/archive/master.zip">ZIP (Latest)</a></li>
4545
</ul>
4646
</li>
@@ -52,7 +52,7 @@
5252
<li class="divider"></li>
5353
<!--li class="nav-header">Library</li-->
5454
<li><a href="http://ecomfe.github.io/zrender/index.html" target="_blank">ZRender</a></li>
55-
<li><a href="http://tangram.baidu.com/" target="_blank">Tangram</a></li>
55+
5656
</ul>
5757
</li>
5858
</ul>
@@ -83,7 +83,8 @@
8383
mark : true,
8484
dataView : {readOnly: false},
8585
magicType:['line', 'bar'],
86-
restore : true
86+
restore : true,
87+
saveAsImage : true
8788
}
8889
},
8990
calculable : true,

‎doc/example/bar3.html‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<li class="dropdown">
4141
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-download-alt icon-white"></i>Download <b class="caret"></b></a>
4242
<ul class="dropdown-menu">
43-
<li><a href="https://github.com/ecomfe/echarts/archive/1.1.0.zip">ZIP (1.1.0)</a></li>
43+
<li><a id="last-release-link" href=""> </a></li>
4444
<li><a href="https://github.com/ecomfe/echarts/archive/master.zip">ZIP (Latest)</a></li>
4545
</ul>
4646
</li>
@@ -52,7 +52,7 @@
5252
<li class="divider"></li>
5353
<!--li class="nav-header">Library</li-->
5454
<li><a href="http://ecomfe.github.io/zrender/index.html" target="_blank">ZRender</a></li>
55-
<li><a href="http://tangram.baidu.com/" target="_blank">Tangram</a></li>
55+
5656
</ul>
5757
</li>
5858
</ul>
@@ -84,7 +84,8 @@
8484
mark : true,
8585
dataView : {readOnly: false},
8686
magicType:['line', 'bar'],
87-
restore : true
87+
restore : true,
88+
saveAsImage : true
8889
}
8990
},
9091
calculable : true,

0 commit comments

Comments
 (0)