@leevan/jtui
Version:
jt Components
55 lines (46 loc) • 1.07 kB
JavaScript
var data = {
option: {
color: ['#3398DB'],
tooltip: {
trigger: 'axis',
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
xAxis:
{
type: 'category',
data: [],
axisTick: {
alignWithLabel: true
}
}
,
yAxis:
{
type: 'value'
}
,
series: [
{
name: '直接访问',
type: 'line',
data: [10, 52, 200, 334, 390, 330, 220]
}
]
}
}
//组件说明
//所有图表配置均参考于echarts3.0
//本例仅支持echart3.0曲线/折线配置
//配置说明
//执行命令说明:type值对应的是要执行的回调函数。0表示执行option中传入的回调函数,>=1表示执行对应编号的组件初始化的回调函数,
function getJson(start, end, key) {
return data
}
export {
getJson
}