Commit 82c1f24a by 杨琪琪

ecahrts图表动态刷新内存增长问题

parent d083cfd0
......@@ -5,7 +5,10 @@ var defaultLineOptions = {
left: 'center'
},
tooltip: {
trigger: 'axis'
trigger: 'axis',
axisPointer: {
animation: false
}
},
grid: {
left: '3%',
......@@ -23,33 +26,36 @@ var defaultLineOptions = {
orient: 'horizontal', // vertical
// left: 10,
top: '6%',
animation: false,
},
xAxis: {
type: 'time',
boundaryGap: false,
animation: false
},
yAxis: {
type: 'value',
min: 0,
minInterval: 1,
animation: false
},
markPoint: {
animation: false
},
dataZoom: [
{
id: 'inside',
type: 'inside',
start: 0,
end: 100
},
{
id: 'slide',
start: 0,
end: 100
}
],
series: [
{
type: "line",
data: []
}
]
series: []
}
var defaultXBarOptions = {
grid: {
......@@ -61,7 +67,10 @@ var defaultXBarOptions = {
show: false,
},
tooltip: {
trigger: 'axis'
trigger: 'axis',
axisPointer: {
animation: false
}
},
xAxis: {
show: false,
......@@ -111,7 +120,7 @@ var defaultYBarOptions = {
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
animation: false
}
},
grid: {
......@@ -124,7 +133,8 @@ var defaultYBarOptions = {
textStyle: {
color: "#fff",
},
left: 10
left: 10,
animation: false,
},
dataset: {
source: []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment