-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed
Labels
inactiveNot active for some time or no response from the author. Will be closed soon.Not active for some time or no response from the author. Will be closed soon.
Description
问题简述 (One-line summary)
大数据 折线图 tooltip 不显示 数据为0时候渲染不正确
版本及环境 (Version & Environment)
- ECharts 版本 (ECharts version):
- 浏览器类型和版本 (Browser version):
- 操作系统类型和版本 (OS Version):
ECharts 3.0
chrome 51.0.2704.84 (64-bit)
mac os
重现步骤 (Steps to reproduce)
- 数据都为0 但是图渲染的不正确
2.tooptip 怎么设置都不能显示出来
看了一下 那个div是空的
期望结果 (Expected behaviour)
tooptip 能显示 数据为0 的时候什么都不现实
可能哪里有问题 (What went wrong)
ECharts配置项 (ECharts option)
var option = {
tooltip: {
show: true
},
title: {
left: 'center',
text: '大数据量折线图',
},
legend: {
top: 'bottom',
data:['意向']
},
toolbox: {
show: true,
feature: {
dataView: {show: true, readOnly: false},
magicType: {show: true, type: ['line', 'bar', 'stack', 'tiled']},
restore: {show: true},
saveAsImage: {show: true}
}
},
xAxis: {
type: 'category',
boundaryGap: false,
data: date
},
yAxis: {
type: 'value',
boundaryGap: [0, '100%']
},
series: [
{
name:'模拟数据',
type:'line',
smooth:true,
symbol: 'none',
sampling: 'average',
itemStyle: {
normal: {
color: 'rgba(255, 70, 131,0)'
}
},
areaStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
offset: 0,
color: 'rgb(255, 158, 68)'
}, {
offset: 1,
color: 'rgb(255, 70, 131)'
}])
}
},
data: data
}
]
};其他信息 (Other comments)
Metadata
Metadata
Assignees
Labels
inactiveNot active for some time or no response from the author. Will be closed soon.Not active for some time or no response from the author. Will be closed soon.
