Version
5.2.1
Steps to reproduce
{
name: 'xxx',
type: 'line',
data: [4, 55, 88, 32, 80, 86, 46, 72, 54, 78, 19, 75],
symbol:'emptyCircle',//空心圆
symbolSize:6,
showSymbol: false,
legendHoverLink: false,
animation:true,
label : {show: false},
lineStyle:{
color: '#588FF8',
width: 1,
},
itemStyle:{
color: '#FFFFFF',
// borderColor:'#FFFFFF',
borderWidth: 10,//拐点边框大小 无效
},
emphasis:{
scale: false,
lineStyle:{
width: 1
},
itemStyle:{
color:'#FFFFFF',//拐点颜色
borderColor:'#588FF8',//拐点边框颜色
borderWidth: 10,//拐点边框大小
}
},
}
What is expected?
希望可以设置emptyCircle的border,出于其他原因不想用circle来模拟emptyCircle
What is actually happening?
不管设置什么数值,无法修改emptyCircle的border宽度。
3条答案
按热度按时间ulmd4ohb1#
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that it containsa minimum reproducible demoand necessaryimagesto illustrate. Otherwise, our committers will ask you to do so.
You may also check out the API and chart option to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.
If you are interested in the project, you may also subscribe to our mailing list .
Have a nice day! 🍵
up9lanfz2#
@ayrikiya It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
Line chart set symbol as emptycircle, can't set itemStyle-borderWidth?
BODY
Version
5.2.1
Steps to reproduce
What is expected?
I hope that the border of emptyCircle can be set, and I don’t want to use circle to simulate emptyCircle for other reasons.
What is actually happening?
No matter what value is set, the border width of emptyCircle cannot be modified.
mpbci0fu3#
只能通过设为 circle 来改变,emptyCircle 是一种宽度为 2 的固定宽度的图形。