|
@@ -208,7 +208,7 @@ export const clientOptionsChart = (
|
|
|
color: "#FFFFFF"
|
|
|
},
|
|
|
formatter(param) {
|
|
|
- let el = `<div class="dmp-echart-tooltip"><h4>${param[0].axisValue}</h4>`;
|
|
|
+ let el = `<div class="dmp-echart-tooltip"><h4>${dateType(param[0].axisValue)}</h4>`;
|
|
|
param.forEach(item => {
|
|
|
el += `<p>
|
|
|
<span class="marker" style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-image: linear-gradient(to left,
|
|
@@ -245,8 +245,7 @@ export const clientOptionsChart = (
|
|
|
},
|
|
|
axisLabel: {
|
|
|
formatter: function (params, index) {
|
|
|
-
|
|
|
- return params;
|
|
|
+ return params.slice(4) + '月';
|
|
|
},
|
|
|
color: "#9B9DA5",
|
|
|
margin: 16
|