General Questions
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
There is a 'title' under series[i]-gauge, I set its properties, but it is not working.
I have two series in my chart, I noticed there is a 'title' under series[i]-gauge, I think it should give a title for each series, but it isn't shown, I wonder what is this 'title' for?
{
series: [
{
title: {
show: true,
text: "CPU使用率",
color: "#fff",
fontSize: 12,
offsetCenter: ["50%", "50%"]
},
name: "CPU使用率",
type: "gauge",
min: 0,
max: 100,
radius: "70%",
center: ["50%", "50%"],
startAngle: 180,
endAngle: 0,
splitNumber: 4,
axisLine: {
lineStyle: {
color: [
[0, "rgba(16, 86, 187, 0.57)"],
[1, "rgba(16, 86, 187, 0.57)"]
],
width: 3,
shadowColor: "#fff",
shadowBlur: 10
}
},
axisTick: {
length: 6,
lineStyle: {
color: "auto",
shadowColor: "#fff",
shadowBlur: 10
}
},
splitLine: {
length: 10,
lineStyle: {
width: 3,
color: "auto",
shadowColor: "#fff",
shadowBlur: 10
}
},
pointer: {
length: "50%",
width: 3
},
itemStyle: {
color: "#fff"
},
axisLabel: {
color: "#fff"
},
detail: {
color: "#fff",
formatter: function(val) {
return val + "%";
},
fontSize: 13
},
data: [{ value: "52" }]
}
]
}
Expected Behavior
Current Behavior
Online Example
Topics
Anything Else We Need to Know
Environment
General Questions
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
There is a 'title' under series[i]-gauge, I set its properties, but it is not working.
I have two series in my chart, I noticed there is a 'title' under series[i]-gauge, I think it should give a title for each series, but it isn't shown, I wonder what is this 'title' for?
{
series: [
{
title: {
show: true,
text: "CPU使用率",
color: "#fff",
fontSize: 12,
offsetCenter: ["50%", "50%"]
},
name: "CPU使用率",
type: "gauge",
min: 0,
max: 100,
radius: "70%",
center: ["50%", "50%"],
startAngle: 180,
endAngle: 0,
splitNumber: 4,
axisLine: {
lineStyle: {
color: [
[0, "rgba(16, 86, 187, 0.57)"],
[1, "rgba(16, 86, 187, 0.57)"]
],
width: 3,
shadowColor: "#fff",
shadowBlur: 10
}
},
axisTick: {
length: 6,
lineStyle: {
color: "auto",
shadowColor: "#fff",
shadowBlur: 10
}
},
splitLine: {
length: 10,
lineStyle: {
width: 3,
color: "auto",
shadowColor: "#fff",
shadowBlur: 10
}
},
pointer: {
length: "50%",
width: 3
},
itemStyle: {
color: "#fff"
},
axisLabel: {
color: "#fff"
},
detail: {
color: "#fff",
formatter: function(val) {
return val + "%";
},
fontSize: 13
},
data: [{ value: "52" }]
}
]
}
Expected Behavior
Current Behavior
Online Example
Topics
Anything Else We Need to Know
Environment
ECharts version;ECharts 版本: {4.1.0}
It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}