update 各个tooltip样式
This commit is contained in:
@@ -32,11 +32,14 @@ class ChartOption {
|
||||
|
||||
this.tooltip = {
|
||||
trigger: 'axis',
|
||||
padding: 10,
|
||||
backgroundColor: 'rgba(13, 29, 53, 0.8)',
|
||||
extraCssText: 'width: 180px !important; ',
|
||||
axisPointer: {
|
||||
type: 'line',
|
||||
label: {
|
||||
backgroundColor: '#6a7985'
|
||||
lineStyle: {
|
||||
type: 'dotted',
|
||||
color: '#7BFFFB'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -106,8 +109,11 @@ class ChartOption {
|
||||
{
|
||||
name: 'A1下片机',
|
||||
type: 'line',
|
||||
symbol: 'none',
|
||||
smooth: true,
|
||||
// symbol: 'none',
|
||||
symbol: 'circle',
|
||||
symbolSize: 1,
|
||||
showSymbol: false,
|
||||
// smooth: true,
|
||||
areaStyle: {
|
||||
// color: 'rgba(50,145,152,0.5)'
|
||||
color: {
|
||||
@@ -130,7 +136,8 @@ class ChartOption {
|
||||
}
|
||||
},
|
||||
emphasis: {
|
||||
focus: 'series'
|
||||
focus: 'series',
|
||||
scale: 1.2
|
||||
},
|
||||
data:
|
||||
this.mode === 'month'
|
||||
@@ -144,8 +151,11 @@ class ChartOption {
|
||||
{
|
||||
name: '磨边机',
|
||||
type: 'line',
|
||||
symbol: 'none',
|
||||
smooth: true,
|
||||
// symbol: 'none',
|
||||
symbol: 'circle',
|
||||
symbolSize: 1,
|
||||
showSymbol: false,
|
||||
// smooth: true,
|
||||
areaStyle: {
|
||||
// color: 'rgba(50,145,152,0.5)'
|
||||
color: {
|
||||
|
||||
Reference in New Issue
Block a user