瀏覽代碼

fix: 大屏图表字体大小调整

周玉环 3 天之前
父節點
當前提交
182e630724
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      xinkeaboard-admin/src/pages/statistics/bigscreen/components/BarChart.js

+ 3 - 3
xinkeaboard-admin/src/pages/statistics/bigscreen/components/BarChart.js

@@ -40,7 +40,7 @@ class BarChart extends React.Component {
       tooltip: {
         trigger: "item", // 鼠标悬浮触发方式:'item' 或 'axis'
         textStyle: {
-          fontSize: 28, // 设置字体大小
+          fontSize: 25, // 设置字体大小
           fontWeight: "bold", // 可选:加粗
           // color: "#fff", // 可选:字体颜色
         },
@@ -51,7 +51,7 @@ class BarChart extends React.Component {
         axisLabel: {
           show: true,
           fontWeight: 'bold',
-          fontSize: 20,
+          fontSize: 12,
           color: "#FFFFFF",
         },
       },
@@ -60,7 +60,7 @@ class BarChart extends React.Component {
         axisLabel: {
           show: true,
           fontWeight: 'bold',
-          fontSize: 20,
+          fontSize: 12,
           color: "#FFFFFF",
         },
         splitLine: {