提交 19955145 编写于 作者: K kener

代码优化,文档更新

上级 13f10892
......@@ -472,9 +472,10 @@
<h3>专题<a name="topic"></a></h3>
<p><small>专题页没做低版本IE兼容性处理,请用IE9+、chrome、safari、firefox或opear等现代浏览器。</small></p>
<ul>
<li><a href="example/topic/aqi-china/index.html" target="_blank">中国主要城市空气质量实况 </a> by <a href="http://weibo.com/wfsr" target="_blank">大佛</a>(百度) · <a href="http://weibo.com/kenerlinfeng" target="_blank">林峰</a>(百度)</li>
<li><a href="example/topic/10-me-china/index.html" target="_blank">中国经济十年时空漫游(2002-2011)</a> by 于博(新华社) · 吴楚茵(南方都市报) · <a href="http://weibo.com/kenerlinfeng" target="_blank">林峰</a>(百度)</li>
<li><a href="example/topic/24-population-china/index.html" target="_blank">中国人口流动大潮(1987-2011)</a> by 孟立昕(腾讯)· 王飞宇(证券时报) · 颜冬(视觉中国) · <a href="http://weibo.com/kenerlinfeng" target="_blank">林峰</a>(百度)</li>
<li><a href="example/topic/aqi-china/index.html" target="_blank">中国主要城市空气质量实况 </a> by <a href="http://weibo.com/wfsr" target="_blank">大佛</a>(百度) · <a href="http://weibo.com/kenerlinfeng" target="_blank">林峰</a>(百度)</li>
</ul>
<hr>
<footer>
......
......@@ -67,16 +67,6 @@
<div class="well sidebar-nav">
<div class="nav-header"><a href="#" onclick="autoResize()" class="icon-resize-full" id ="icon-resize" ></a>option</div>
<textarea id="code" name="code">
var placeHoledStyle = {
normal:{
borderColor:'rgba(0,0,0,0)',
color:'rgba(0,0,0,0)'
},
emphasis:{
borderColor:'rgba(0,0,0,0)',
color:'rgba(0,0,0,0)'
}
};
option = {
title : {
text: '温度计式图表',
......
......@@ -78,7 +78,7 @@ define(function(require) {
function reformOption(opt) {
return zrUtil.merge(
opt || {},
ecConfig[self.type] || {},
zrUtil.clone(ecConfig[self.type] || {}),
{
'overwrite': false,
'recursive': true
......
......@@ -148,6 +148,7 @@ define(function (require) {
width : itemSize,
height : itemSize,
iconType : _iconList[i],
lineWidth : 1,
strokeColor : color[i % color.length],
shadowColor: '#ccc',
shadowBlur : 2,
......
......@@ -158,6 +158,7 @@ define(function() {
//saveAsImage : true
},
showTitle : true,
featureImageIcon : {}, // 自定义图片icon
featureTitle : {
mark : '辅助线开关',
markUndo : '删除辅助线',
......@@ -570,10 +571,11 @@ define(function() {
pie: {
center : ['50%', '50%'], // 默认全局居中
radius : [0, '75%'],
clockWise : false, // 默认逆时针
startAngle: 90,
minAngle: 0, // 最小角度改为0
selectedOffset: 10, // 选中是扇区偏移量
// selectedMode: false, // 选择模式,默认关闭,可选single,multiple
minAngle: 0, // 最小角度改为0
selectedOffset: 10, // 选中是扇区偏移量
// selectedMode: false, // 选择模式,默认关闭,可选single,multiple
// roseType : null, // 南丁格尔玫瑰图模式,'radius'(半径) | 'area'(面积)
itemStyle: {
normal: {
......@@ -850,6 +852,7 @@ define(function() {
textStyle: {
decoration: 'none',
fontFamily: 'Arial, Verdana, sans-serif',
fontFamily2: '微软雅黑', // IE8- 字体模糊并且,不支持不同字体混排,额外指定一份
fontSize: 12,
fontStyle: 'normal',
fontWeight: 'normal'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册