diff --git a/src/main/resources/web/assets/js/charts/charts.js b/src/main/resources/web/assets/js/charts/charts.js
index f29d0f667..bdbe88a26 100644
--- a/src/main/resources/web/assets/js/charts/charts.js
+++ b/src/main/resources/web/assets/js/charts/charts.js
@@ -386,8 +386,8 @@ const ECHART_VALUE_LABEL2 = function (dataFlags = []) {
const ECHART_TOOLTIP_FORMATTER = function (i, dataFlags = []) {
if (!Array.isArray(i)) i = [i] // Object > Array
const tooltip = [`${i[0].name}`]
- i.forEach((a, idx) => {
- tooltip.push(`${a.marker} ${a.seriesName} : ${formatThousands(a.value, dataFlags[idx])}`)
+ i.forEach((a) => {
+ tooltip.push(`${a.marker} ${a.seriesName} : ${formatThousands(a.value, dataFlags[a.seriesIndex])}`)
})
return tooltip.join('
')
}
@@ -1538,7 +1538,6 @@ class ChartCNMap extends BaseChart {
.find('.chart-body')
.height(H - (window.render_preview_chart ? 0 : 40))
this.__lastHW = [H, W]
- console.log(this.__lastHW)
}
export() {