update
This commit is contained in:
@@ -147,7 +147,10 @@ function getOptions(period, trend) {
|
||||
},
|
||||
},
|
||||
series: {
|
||||
data: trend[period].map((item) => item.qty),
|
||||
// !(item.value == null || isNaN(+item.value)) ? (+item.value).toFixed(2) : null
|
||||
data: trend[period].map((item) =>
|
||||
item.qty == null || isNaN(+item.qty) ? null : (+item.qty).toFixed(2)
|
||||
),
|
||||
type: "line",
|
||||
symbol: "circle",
|
||||
symbolSize: 6,
|
||||
|
||||
Reference in New Issue
Block a user