echars x轴单位_echarts X轴和Y轴 坐标没有 一一对应
option2 = {
title: {
text: '折線圖堆疊'
},
tooltip: {
trigger: 'axis',
formatter: function (params) {
if (GetFindSelect(WxOmarkPoints, params[0].name) != undefined) {
return "推送時(shí)間:" + params[0].name;
}
else {
return '消費(fèi)日期:' + params[0].name + '
消費(fèi)次數(shù):' + params[0].value;
}
}
},
legend: {
data: ['用戶消費(fèi)次數(shù)', '維系用戶消費(fèi)次數(shù)']
},
dataZoom: {
show: true,
realtime: true,
start: 50,
end: 100,
y: '420px'
},
toolbox: {
feature: {
saveAsImage: {}
}
},
xAxis: {
type: 'category',
boundaryGap: false,
axisTick: { onGap: false },
splitLine: { show: false },
data: TDate
},
yAxis: {
type: 'value'
},
series: [
{
name: '用戶消費(fèi)次數(shù)',
type: 'line',
data: WxOMyConDate,
showSymbol: true,
markPoint: {
symbol: 'circle',
symbolSize: 20,
itemStyle: {
normal: {
// color:'red'
borderType: "solid"
}
},
data: WxOmarkPoints
}
},
{
name: '維系用戶消費(fèi)次數(shù)',
type: 'line',
data: WxTMyConDate,
showSymbol: true,
markPoint: {
symbol: 'circle',
symbolSize: 20,
itemStyle: {
normal: {
// color:'red'
borderType: "solid"
}
},
data: WxTmarkPoints
}
}
]
};
總結(jié)
以上是生活随笔為你收集整理的echars x轴单位_echarts X轴和Y轴 坐标没有 一一对应的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: asp接收ajax乱码_Asp中处理AJ
- 下一篇: python中da_Python中字符的