34 lines
937 B
JavaScript
34 lines
937 B
JavaScript
export default {
|
|
legend: {show: false},
|
|
yAxis: {
|
|
nameGap: 23, minInterval: 1,
|
|
splitLine: {lineStyle: {color: 'rgba(255,255,255,.2)', type: 'dashed'}},
|
|
axisLabel: {color: '#fff'}, axisPointer: {show: false}
|
|
},
|
|
axisPointer: {
|
|
type: 'none', show: true, triggerTooltip: false,
|
|
},
|
|
daemon: {
|
|
type: 'bar', label: {show: true, position: 'insideBottom', color: '#fff'},
|
|
barWidth: 24,
|
|
showBackground: true,
|
|
backgroundStyle: {
|
|
color: 'rgba(123, 165, 255, .2)'
|
|
},
|
|
itemStyle: {
|
|
color: {
|
|
type: 'linear', x: 0, x2: 0, y: 0, y2: 1,
|
|
colorStops: [{offset: 0, color: '#42BBFF'}, {offset: 1, color: 'rgba(37, 143, 255, 0.2)'}]
|
|
}
|
|
},
|
|
emphasis: {
|
|
itemStyle: {
|
|
color: {
|
|
type: 'linear', x: 0, x2: 0, y: 0, y2: 1,
|
|
colorStops: [{offset: 0, color: '#42FFFE'}, {offset: 1, color: 'rgba(37, 255, 246, 0.2)'}]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|