| | |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import type * as echarts from 'echarts'; |
| | | import _ from 'lodash'; |
| | | import { ref } from 'vue'; |
| | | import { SCATTER_SYMBOL_SIZE, chatComProps, getChatChartOption } from '../common'; |
| | | import { useDrawChatChart } from '../hooks/useDrawChatChart'; |
| | | import { defaultsDeep } from 'lodash-es'; |
| | | const activeName = ref('first'); |
| | | const chartRef = ref<HTMLDivElement>(null); |
| | | |
| | |
| | | |
| | | const drawChart = () => { |
| | | chartInstance.value.setOption( |
| | | _.defaultsDeep(getChatChartOption(), { |
| | | defaultsDeep(getChatChartOption(), { |
| | | grid: { |
| | | bottom: '5%', |
| | | }, |