update
This commit is contained in:
parent
9d3c877628
commit
d1212c8729
@ -164,7 +164,7 @@ function getOptions(period, trend) {
|
||||
},
|
||||
},
|
||||
series: {
|
||||
data: trend[period].map(item => item != null && (+item).toFixed(2)),
|
||||
data: trend[period].map(item => item != null ? (+item).toFixed(2) : null),
|
||||
type: "line",
|
||||
symbol: "circle",
|
||||
symbolSize: 6,
|
||||
|
@ -163,7 +163,7 @@ function getOptions(period, trend) {
|
||||
},
|
||||
},
|
||||
series: {
|
||||
data: trend[period].map(item => item != null && (+item).toFixed(2)),
|
||||
data: trend[period].map(item => item != null ? (+item).toFixed(2) : null),
|
||||
type: "line",
|
||||
symbol: "circle",
|
||||
symbolSize: 6,
|
||||
|
@ -101,7 +101,9 @@ export function getOptions(period, source, trend, options = {}) {
|
||||
? null
|
||||
: (+item.qty).toFixed(2)
|
||||
)
|
||||
: trend[period].map(item => item != null && (+item).toFixed(2)),
|
||||
: trend[period].map((item) =>
|
||||
item != null ? (+item).toFixed(2) : null
|
||||
),
|
||||
type: "line",
|
||||
symbol: "circle",
|
||||
symbolSize: 6,
|
||||
|
Loading…
Reference in New Issue
Block a user