@@ -565,7 +565,7 @@ export default {
const previousItem = params.find((series) => ('Previous ' + item.seriesName) === series.seriesName)
if (previousItem) {
str += '
'
- const previousval = formatScientificNotation(previousItem.data[1], dot)
+ const previousval = formatScientificNotation(previousItem.value[1], dot)
let minusVal = 0
if (previousval <= val) {
minusVal = val - previousval
@@ -759,16 +759,16 @@ export default {
}
const seriesName = nameArr.join('-')
// title
- const value = bus.computeTimezone(params.data[0])
+ const value = bus.computeTimezone(params.value[0])
const tData = new Date(value)
// value
- let paramsDot = bus.countDecimals(params.data[1])
+ let paramsDot = bus.countDecimals(params.value[1])
if (paramsDot < this.chartDot) {
paramsDot = this.chartDot
} else if (paramsDot > 6) {
paramsDot = 6
}
- const val = formatScientificNotation(params.data[1], paramsDot)
+ const val = formatScientificNotation(params.value[1], paramsDot)
const color = this.colors[params.seriesIndex]
this.tooltip.tooltipHtml = `