diff --git a/src/components/ChartsTimeLine/index.vue b/src/components/ChartsTimeLine/index.vue
index de4f515..c6cb3e3 100644
--- a/src/components/ChartsTimeLine/index.vue
+++ b/src/components/ChartsTimeLine/index.vue
@@ -247,7 +247,7 @@
color: "#464b50",
borderColor: "#464b50"
},
- bottom:'10%'
+ bottom: '10%'
},
title: {
text: props.textTitle,
@@ -261,37 +261,18 @@
trigger: 'axis',
axisPointer: {
type: 'shadow',
- shadowStyle: {
- color: "rgba(133,131,131,0.3)"
- }
- },
- backgroundColor: 'rgba(255,255,255,1)',
- padding: [5, 10],
- textStyle: {
- color: '#7588E4',
- align: 'left'
+
},
- extraCssText: 'box-shadow: 0 0 5px rgba(0,0,0,0.3)',
- formatter: function (params) {
- const dateValue = params[0].data[0];
- const formattedDate = formatTooltipDataDate(dateValue);
- let text = formattedDate + '
';
- for (let i = 0; i < params.length; i++) {
- text += ``
- text += params[i].seriesName + " : " + params[i].data[1] + '
';
- }
- return text;
- }
},
legend: {
data: props.legendData,
right: 10,
- top: 20,
+ top: 12,
textStyle: {
- color: "#333"
+ color: "#000",
},
- itemWidth: 15,
- itemHeight: 8,
+ itemWidth: 12,
+ itemHeight: 10,
},
grid: props.grid,
toolbox: {