把秋云组件放到组件中调用,页面滑动的时候,折线图也会跟随滚动
<qiun-data-charts type="area" :canvasId="canvasId()" :ontouch="true" :chartData="data" background="#1A202C" :opts="{
legend:{show:false},
fontColor: '#7D8391',
dataLabel: false,
color:['#F2C82E','#FFE587'],
title: {
name:''
},
enableScroll: true,
xAxis: {scrollShow: false,itemCount:3},
yAxis: {scrollShow: false,},
padding:[30,15,5,10],
extra:{
area: {
type:'curve'
}
},
}" />
0 个回复