fix: 解决冲突

This commit is contained in:
@changcode
2022-05-10 10:26:09 +08:00
parent 0b7d81d1df
commit 24e3ae2a70
2 changed files with 3 additions and 1 deletions

View File

@@ -360,7 +360,7 @@ export default {
...seriesTemplate,
name: r.legend,
data: r.values.map((v) => [
dateFormatByAppearance(Number(v[0]) * 1000),
Number(v[0]) * 1000,
Number(v[1]),
chartParams.unitType
]),

View File

@@ -185,6 +185,7 @@ export const singleValueLine = {
showContent: true,
appendToBody: true,
trigger: 'axis',
formatter: axisFormatter,
textStyle: {
width: '20px',
overflow: 'truncate'
@@ -208,6 +209,7 @@ export const singleValueLine = {
color: chartColor,
legend: {
show: false,
formatter: tooLongFormatter,
textStyle: {
fontSize: legendFontSize
}