提交 4669bb78 编写于 作者: K kener

update chord demo

上级 8b7eba3d
......@@ -125,7 +125,7 @@ option = {
name : 'g1',
itemStyle : {
normal: {
color: 'red',
color: 'rgba(255,30,30,0.5)',
lineStyle : {
width: 1,
color: 'green',
......
......@@ -68,6 +68,12 @@
<div class="nav-header"><a href="#" onclick="autoResize()" class="icon-resize-full" id ="icon-resize" ></a>option</div>
<textarea id="code" name="code">
option = {
color : [
'#FBB367','#80B1D2','#FB8070','#CC99FF','#B0D961',
'#99CCCC','#BEBBD8','#FFCC99','#8DD3C8','#FF9999',
'#CCEAC4','#BB81BC','#FBCCEC','#CCFF66','#99CC66',
'#66CC66','#FF6666','#FFED6F','#ff7f50','#87cefa',
],
title : {
text : '中东地区的敌友关系',
subtext: '数据来自财新网',
......
......@@ -683,7 +683,7 @@ define(function(require) {
var _merge = zrUtil.merge;
opt = _merge(
opt || {},
ecConfig.pie,
ecConfig.chord,
{
'overwrite' : false,
'recursive' : true
......
......@@ -41,12 +41,6 @@ define(function() {
'#ff69b4','#ba55d3','#cd5c5c','#ffa500','#40e0d0',
'#1e90ff','#ff6347','#7b68ee','#00fa9a','#ffd700',
'#6699FF','#ff6666','#3cb371','#b8860b','#30e0e0'],
color2 : [
'#FBB367','#80B1D2','#FB8070','#CC99FF','#B0D961',
'#99CCCC','#BEBBD8','#FFCC99','#8DD3C8','#FF9999',
'#CCEAC4','#BB81BC','#FBCCEC','#CCFF66','#99CC66',
'#66CC66','#FF6666','#FFED6F','#ff7f50','#87cefa',
],
// 图表标题
title: {
......@@ -698,7 +692,7 @@ define(function() {
chordStyle : {
lineStyle : {
width : 1,
color : 'black'
color : '#666'
}
}
},
......@@ -710,7 +704,7 @@ define(function() {
chordStyle : {
lineStyle : {
width : 2,
color : 'black'
color : '#333'
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册