lion 2 years ago
parent e5ee12c5de
commit 00449d77dc

@ -514,7 +514,16 @@
var option4; var option4;
option4 = { option4 = {
tooltip:{}, tooltip:{
trigger: 'axis',
formatter: function (params) {
let tooltipContent = '';
params.forEach((param) => {
tooltipContent += `${param.seriesName}: ${param.value}`;
});
return tooltipContent;
},
},
color: ['#018fff'], color: ['#018fff'],
lineStyle: { lineStyle: {
color: '#018fff' color: '#018fff'

Loading…
Cancel
Save