|
|
|
@ -420,7 +420,7 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
axisLabel: {
|
|
|
|
axisLabel: {
|
|
|
|
interval: 0,
|
|
|
|
interval: 0,
|
|
|
|
rotate: 25,
|
|
|
|
rotate: 20,
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
|
color: '#fff',
|
|
|
|
color: '#fff',
|
|
|
|
fontSize: '14px'
|
|
|
|
fontSize: '14px'
|
|
|
|
@ -520,6 +520,7 @@
|
|
|
|
formatter: function (params) {
|
|
|
|
formatter: function (params) {
|
|
|
|
let tooltipContent = '';
|
|
|
|
let tooltipContent = '';
|
|
|
|
params.forEach((param) => {
|
|
|
|
params.forEach((param) => {
|
|
|
|
|
|
|
|
console.log("param",param)
|
|
|
|
tooltipContent += `<p><span style="display:inline-block;background-color: ${param.color}; width: 10px; height: 10px; margin-right: 5px;"></span>${param.seriesName}: ${param.value}</p>`;
|
|
|
|
tooltipContent += `<p><span style="display:inline-block;background-color: ${param.color}; width: 10px; height: 10px; margin-right: 5px;"></span>${param.seriesName}: ${param.value}</p>`;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return tooltipContent;
|
|
|
|
return tooltipContent;
|
|
|
|
@ -566,7 +567,7 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
axisLabel: {
|
|
|
|
axisLabel: {
|
|
|
|
interval: 0,
|
|
|
|
interval: 0,
|
|
|
|
rotate: 25,
|
|
|
|
rotate: 20,
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
|
color: '#fff',
|
|
|
|
color: '#fff',
|
|
|
|
fontSize: '14px'
|
|
|
|
fontSize: '14px'
|
|
|
|
|