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

Echart 散点图设置每个点样式后(datazoom),无法显示,不设置样式就能显示 #1031

Closed
mmangel2012 opened this issue Dec 12, 2014 · 0 comments

Comments

@mmangel2012
Copy link

option = {
dataZoom: {
show: true
},
calculable : true,
xAxis : [
{
type : 'value'
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'scatter',
type:'scatter',
symbol: 'circle', // 系列级个性化拐点图形
symbolSize: function (value){
return Math.round(value[2] * 3);
},
itemStyle: {
emphasis : {
label : {show: true}
}
},
data: [{
value : [5,5,10],
itemStyle: {
normal: {
borderWidth: 8,
color: 'orange'
}
}
}]
}
]
};

去掉datazoom就可以显示,或者不去掉,但将data改为 data:[[5,5,10]]也可以
@kener 官网测试也不行的

@kener kener closed this as completed in 2c7cd5e Dec 22, 2014
kener added a commit that referenced this issue Dec 22, 2014
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