Skip to content
New issue

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

线的转折点的颜色改了无效,还是灰色的,边框的颜色是黑色 #201

Open
lilinana666 opened this issue May 17, 2018 · 0 comments

Comments

@lilinana666
Copy link

提问前应该做的事

请确保提问前做了以下事,将完成的项目的 [] 改为 [x]

  • [] 我已通读过 README
  • [] 我已阅读过 FAQ

需提供的信息

将符合项的 [] 改为 [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);
                 }

预期效果:

image

实际效果:

???
(如有需要请提供截图)

复现环境:

  • [] 在微信开发工具中无
  • [] 在真机上存在该问题
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant