| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- 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'
- }
- }
- }
- });
|