We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请确保提问前做了以下事,将完成的项目的 [] 改为 [x]:
[]
[x]
将符合项的 [] 改为 [x],并补充需要的信息:
应该是跟第一个原点的颜色一样的 配置项 let obj = { name: item, type: 'line', data: jsdata[item].price, symbol:'circle', symbolSize:10, itemStyle: { borderWidth:2, color:jsdata[item].color, borderType:'solid' , borderColor: "#fff" // 点边线的颜色 }, label:{ show:true, position:'insideTopLeft', formatter:function(param){ if(param.value == ''){ return 0; } } }, lineStyle:{ color:jsdata[item].color }, emphasis:{ itemStyle: { borderWidth:2, color:jsdata[item].color, borderType:'solid' , borderColor: "#fff" // 点边线的颜色 }, label:{ show:true, position:'insideTopLeft', formatter:function(param){ if(param.value == ''){ return 0; } } }, lineStyle:{ color:jsdata[item].color }, }
}; names.push(item); series.push(obj); }
??? (如有需要请提供截图)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
提问前应该做的事
请确保提问前做了以下事,将完成的项目的
[]
改为[x]
:需提供的信息
将符合项的
[]
改为[x]
,并补充需要的信息:简单描述问题:
应该是跟第一个原点的颜色一样的
配置项
let obj = {
name: item,
type: 'line',
data: jsdata[item].price,
symbol:'circle',
symbolSize:10,
itemStyle: {
borderWidth:2,
color:jsdata[item].color,
borderType:'solid' ,
borderColor: "#fff" // 点边线的颜色
},
label:{
show:true,
position:'insideTopLeft',
formatter:function(param){
if(param.value == ''){
return 0;
}
}
},
lineStyle:{
color:jsdata[item].color
},
emphasis:{
itemStyle: {
borderWidth:2,
color:jsdata[item].color,
borderType:'solid' ,
borderColor: "#fff" // 点边线的颜色
},
label:{
show:true,
position:'insideTopLeft',
formatter:function(param){
if(param.value == ''){
return 0;
}
}
},
lineStyle:{
color:jsdata[item].color
},
}
预期效果:
实际效果:
???
(如有需要请提供截图)
复现环境:
The text was updated successfully, but these errors were encountered: