fix: 解决冲突
This commit is contained in:
@@ -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
|
||||
]),
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user