xqq_ele
Version:
框架
117 lines (116 loc) • 2.11 kB
JavaScript
const F = {
width: { type: Number, default: 400 },
height: { type: Number, default: 120 },
data: {
type: Array,
default: []
},
numberOfRow: { type: Array, default: [4, 4] },
gap: { type: Array, default: [8, 8] },
textStyle: {
type: Object,
default: {
fontSize: "14px",
fontWeight: 400,
colorType: "unite",
color: "#2D4B73",
colors: [
"#0091FA",
"#00AF91",
"#FF9623",
"#FFCD23",
"#FF5023",
"#B450DC",
"#5260DC",
"#00C8F0"
],
textAlign: "center"
}
},
valueStyle: {
type: Object,
default: {
fontSize: "20px",
fontWeight: 600,
colorType: "unite",
color: "#FFFFFF",
colors: [
"#0091FA",
"#00AF91",
"#FF9623",
"#FFCD23",
"#FF5023",
"#B450DC",
"#5260DC",
"#00C8F0"
],
textAlign: "center"
}
},
splitTotalStyle: {
type: Object,
default: {
show: !1,
fontSize: "20px",
fontWeight: 400,
color: "#FFFFFF"
}
},
unitStyle: {
type: Object,
default: {
show: !1,
fontSize: "14px",
fontWeight: 400,
color: "#FFFFFF"
}
},
totalStyle: {
type: Object,
default: {
show: !1,
fontSize: "20px",
fontWeight: 600,
color: "#FFFFFF"
}
},
borderStyle: { type: Object, default: { show: !0, borderRadius: "4px" } },
backgroundValueStyle: {
type: Object,
default: {
isLinear: !0,
colorType: "custom",
colors: [
"#0091FA",
"#00AF91",
"#FF9623",
"#FFCD23",
"#FF5023",
"#B450DC",
"#5260DC",
"#00C8F0"
],
color: "#2D4B73"
}
},
backgroundTextStyle: {
type: Object,
default: {
colorType: "unite",
colors: [
"#FFFFFF",
"#FFFFFF",
"#FFFFFF",
"#FFFFFF",
"#FFFFFF",
"#FFFFFF",
"#FFFFFF",
"#FFFFFF"
],
color: "#FFFFFF"
}
}
};
export {
F as default
};