diff --git a/frontend/src/views/chart/components/ChartComponentS2.vue b/frontend/src/views/chart/components/ChartComponentS2.vue index 0bb542f17d..33285b0233 100644 --- a/frontend/src/views/chart/components/ChartComponentS2.vue +++ b/frontend/src/views/chart/components/ChartComponentS2.vue @@ -239,6 +239,9 @@ export default { if (this.chart.type === 'table-pivot') { rowData = { ...meta.rowQuery, ...meta.colQuery } rowData[meta.valueField] = meta.fieldValue + } else if (this.showPage) { + const rowIndex = (this.currentPage.page - 1) * this.currentPage.pageSize + meta.rowIndex + rowData = this.chart.data.tableRow[rowIndex] } else { rowData = this.chart.data.tableRow[meta.rowIndex] }