|
@@ -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: {
|