diff --git a/frontend/src/views/chat/chat-block/ChartBlock.vue b/frontend/src/views/chat/chat-block/ChartBlock.vue index 226b3172..25493fad 100644 --- a/frontend/src/views/chat/chat-block/ChartBlock.vue +++ b/frontend/src/views/chat/chat-block/ChartBlock.vue @@ -264,7 +264,7 @@ function addToDashboard() { } recordeInfo['chart'] = { - type: chartBaseInfo?.type, + type: currentChartType.value ?? chartBaseInfo?.type, title: chartBaseInfo?.title, columns: chartBaseInfo?.columns, xAxis: axis?.x ? [axis?.x] : [],