add telephone link

This commit is contained in:
Timi
2026-08-03 01:27:46 +08:00
parent 2f9442e4a2
commit cd1b45eb24
13 changed files with 128 additions and 36 deletions
+27 -22
View File
@@ -339,6 +339,9 @@ function buildEventStructureOption(): EChartsOption {
function buildGenderStatOption(): EChartsOption {
return {
...buildBaseOption(),
tooltip: {
trigger: "item"
},
xAxis: {
type: "category",
data: ["男", "女", "未知"],
@@ -349,30 +352,32 @@ function buildGenderStatOption(): EChartsOption {
color: "#52607a"
}
},
series: [{
name: "客户数量",
type: "bar",
data: [
{
value: getGenderCount("MALE"),
itemStyle: {
color: genderColorMap.MALE
}
series: [
{
name: "男",
type: "bar",
itemStyle: {
color: genderColorMap.MALE
},
{
value: getGenderCount("FEMALE"),
itemStyle: {
color: genderColorMap.FEMALE
}
data: [getGenderCount("MALE"), 0, 0]
},
{
name: "女",
type: "bar",
itemStyle: {
color: genderColorMap.FEMALE
},
{
value: getGenderCount("UNKNOWN"),
itemStyle: {
color: genderColorMap.UNKNOWN
}
}
]
}]
data: [0, getGenderCount("FEMALE"), 0]
},
{
name: "未知",
type: "bar",
itemStyle: {
color: genderColorMap.UNKNOWN
},
data: [0, 0, getGenderCount("UNKNOWN")]
}
]
};
}