|
@@ -155,6 +155,7 @@ import card from "@/components/yxgl/card.vue";
|
|
|
import EchartsDome from "@/components/yxgl/EchartsDome.vue";
|
|
import EchartsDome from "@/components/yxgl/EchartsDome.vue";
|
|
|
import Table from "@/components/yxgl/table.vue";
|
|
import Table from "@/components/yxgl/table.vue";
|
|
|
import appCenter from "@/api/appCenter";
|
|
import appCenter from "@/api/appCenter";
|
|
|
|
|
+import { color } from "echarts";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: "",
|
|
name: "",
|
|
@@ -529,8 +530,21 @@ export default {
|
|
|
data: keyRule.xData,
|
|
data: keyRule.xData,
|
|
|
axisTick: { show: false }, // 隐藏刻度
|
|
axisTick: { show: false }, // 隐藏刻度
|
|
|
splitLine: { show: false }, // 隐藏分割线
|
|
splitLine: { show: false }, // 隐藏分割线
|
|
|
|
|
+ axisLabel: {
|
|
|
|
|
+ color: "#F2F3F5cc", // 字体颜色(支持十六进制、RGB、颜色名)
|
|
|
|
|
+ fontSize: 14, // 可选:字体大小
|
|
|
|
|
+ fontWeight: "normal", // 可选:字体粗细
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ yAxis: {
|
|
|
|
|
+ type: "value",
|
|
|
|
|
+ axisLabel: {
|
|
|
|
|
+ color: "#42a5f5cc", // 字体颜色(支持十六进制、RGB、颜色名)
|
|
|
|
|
+ fontSize: 14, // 可选:字体大小
|
|
|
|
|
+ fontWeight: "normal", // 可选:字体粗细
|
|
|
|
|
+ },
|
|
|
|
|
+ splitLine: { lineStyle: { color: "#42a5f532" } },
|
|
|
},
|
|
},
|
|
|
- yAxis: keyRule.yAxis ? keyRule.yAxis : { type: "value" },
|
|
|
|
|
series: keyRule.series,
|
|
series: keyRule.series,
|
|
|
};
|
|
};
|
|
|
break;
|
|
break;
|
|
@@ -595,10 +609,21 @@ export default {
|
|
|
},
|
|
},
|
|
|
xAxis: {
|
|
xAxis: {
|
|
|
type: "value",
|
|
type: "value",
|
|
|
|
|
+ axisLabel: {
|
|
|
|
|
+ color: "#42a5f5cc", // 字体颜色(支持十六进制、RGB、颜色名)
|
|
|
|
|
+ fontSize: 14, // 可选:字体大小
|
|
|
|
|
+ fontWeight: "normal", // 可选:字体粗细
|
|
|
|
|
+ },
|
|
|
|
|
+ splitLine: { lineStyle: { color: "#42a5f532" } },
|
|
|
},
|
|
},
|
|
|
yAxis: {
|
|
yAxis: {
|
|
|
type: "category",
|
|
type: "category",
|
|
|
data: keyRule.xData,
|
|
data: keyRule.xData,
|
|
|
|
|
+ axisLabel: {
|
|
|
|
|
+ color: "#F2F3F5cc", // 字体颜色(支持十六进制、RGB、颜色名)
|
|
|
|
|
+ fontSize: 14, // 可选:字体大小
|
|
|
|
|
+ fontWeight: "normal", // 可选:字体粗细
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
series: [
|
|
series: [
|
|
|
{
|
|
{
|