bkjxxxw/WebContent/static/echarts-2.2.7/doc/example/theme/roma.js

164 lines
4.7 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

define({
color: ['#E01F54','#b8d2c7','#f5e8c8','#001852','#c6b38e',
'#a4d8c2','#f3d999','#d3758f','#dcc392','#2e4783',
'#82b6e9','#ff6347','#a092f1','#0a915d','#eaf889',
'#6699FF','#ff6666','#3cb371','#d5b158','#38b6b6'],
dataRange: {
color:['#e01f54','#e7dbc3'],
textStyle: {
color: '#333'
}
},
k: {
itemStyle: {
normal: {
color: '#e01f54',
color0: '#001852',
lineStyle: {
width: 1,
color: '#f5e8c8',
color0: '#b8d2c7'
}
}
}
},
pie: {
itemStyle: {
normal: {
borderColor: '#fff',
borderWidth: 1,
label: {
show: true,
position: 'outer',
textStyle: {color: '#1b1b1b'},
lineStyle: {color: '#1b1b1b'}
},
labelLine: {
show: true,
length: 20,
lineStyle: {
width: 1,
type: 'solid'
}
}
},
emphasis: {
borderColor: 'rgba(0,0,0,0)',
borderWidth: 1,
label: {
show: false
},
labelLine: {
show: false,
length: 20,
lineStyle: {
width: 1,
type: 'solid'
}
}
}
}
},
map: {
itemStyle: {
normal: {
borderColor: '#fff',
borderWidth: 1,
areaStyle: {
color: '#ccc'
},
label: {
show: false,
textStyle: {
color: 'rgba(139,69,19,1)'
}
}
},
emphasis: {
borderColor: 'rgba(0,0,0,0)',
borderWidth: 1,
areaStyle: {
color: '#f3d999'
},
label: {
show: false,
textStyle: {
color: 'rgba(139,69,19,1)'
}
}
}
}
},
force : {
itemStyle: {
normal: {
label: {
show: false
},
nodeStyle : {
brushType : 'both',
strokeColor : '#5182ab'
},
linkStyle : {
strokeColor : '#5182ab'
}
},
emphasis: {
label: {
show: false
},
nodeStyle : {},
linkStyle : {}
}
}
},
gauge : {
axisLine: { // 坐标轴线
show: true, // 默认显示属性show控制显示与否
lineStyle: { // 属性lineStyle控制线条样式
color: [[0.2, '#E01F54'],[0.8, '#b8d2c7'],[1, '#001852']],
width: 8
}
},
axisTick: { // 坐标轴小标记
splitNumber: 10, // 每份split细分多少段
length :12, // 属性length控制线长
lineStyle: { // 属性lineStyle控制线条样式
color: 'auto'
}
},
axisLabel: { // 坐标轴文本标签详见axis.axisLabel
textStyle: { // 其余属性默认使用全局文本样式详见TEXTSTYLE
color: 'auto'
}
},
splitLine: { // 分隔线
length : 18, // 属性length控制线长
lineStyle: { // 属性lineStyle详见lineStyle控制线条样式
color: 'auto'
}
},
pointer : {
length : '90%',
color : 'auto'
},
title : {
textStyle: { // 其余属性默认使用全局文本样式详见TEXTSTYLE
color: '#333'
}
},
detail : {
textStyle: { // 其余属性默认使用全局文本样式详见TEXTSTYLE
color: 'auto'
}
}
}
});