yanghao 1 週間 前
コミット
ae975c2403
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/views/pms/stat/rhkb/inventorySituation.vue

+ 2 - 2
src/views/pms/stat/rhkb/inventorySituation.vue

@@ -130,14 +130,14 @@ function getChartLayout(chartRef: Ref<HTMLDivElement | undefined>) {
 
 
   return {
   return {
     compact,
     compact,
-    distributionTitleTop: compact ? 6 : 18,
+    distributionTitleTop: compact ? 3 : 13,
     distributionTitleFontSize: compact ? 9 : 11,
     distributionTitleFontSize: compact ? 9 : 11,
     distributionTitleLineHeight: compact ? 14 : 16,
     distributionTitleLineHeight: compact ? 14 : 16,
     distributionPieRadius: compact ? ['38%', '50%'] : ['40%', '52%'],
     distributionPieRadius: compact ? ['38%', '50%'] : ['40%', '52%'],
     distributionPieCenterY: compact ? '60%' : '57%',
     distributionPieCenterY: compact ? '60%' : '57%',
     distributionLegendBottom: compact ? 0 : 10,
     distributionLegendBottom: compact ? 0 : 10,
     distributionLegendItemSize: compact ? 9 : 13,
     distributionLegendItemSize: compact ? 9 : 13,
-    distributionLegendGap: compact ? 8 : 14,
+    distributionLegendGap: compact ? 4 : 10,
     distributionLegendFontSize: compact ? 10 : 14,
     distributionLegendFontSize: compact ? 10 : 14,
     trendGridTop: compact ? 10 : 32,
     trendGridTop: compact ? 10 : 32,
     trendGridRight: compact ? 12 : THEME.grid.right,
     trendGridRight: compact ? 12 : THEME.grid.right,