Переглянути джерело

Merge branch 'eta1.4.6' into debug

Karsa 1 рік тому
батько
коміт
b854d648d1
2 змінених файлів з 3 додано та 2 видалено
  1. 2 1
      src/hooks/chart/useChartRender.ts
  2. 1 1
      src/views/chartShow/index.vue

+ 2 - 1
src/hooks/chart/useChartRender.ts

@@ -1598,7 +1598,8 @@ const setRadarChart = () => {
       categories,
       categories,
       labels: {
       labels: {
         allowOverlap: true,
         allowOverlap: true,
-        autoRotationLimit: 40,
+        // align:'center',
+        distance: 15,
         style: {
         style: {
           ...chartTheme&&chartTheme.xAxisOptions.style
           ...chartTheme&&chartTheme.xAxisOptions.style
         }
         }

+ 1 - 1
src/views/chartShow/index.vue

@@ -137,7 +137,7 @@ export default defineComponent({
 
 
     /* 获取图表数据信息 */
     /* 获取图表数据信息 */
     const loading = ref(false);
     const loading = ref(false);
-    const haveData = ref(false);
+    const haveData = ref(true);
     const code = ref(route.query.code);
     const code = ref(route.query.code);
     const isShare = ref(route.query.fromType === 'share');
     const isShare = ref(route.query.fromType === 'share');
     // 语言 中英文 ch en  默认中文
     // 语言 中英文 ch en  默认中文