wx-charts
wx-charts copied to clipboard
如何调整scroll line类型X轴两个间隔数据的间距长度?
另外为什么2和4个月之间的3个月没有出现?空间够显示的
请提供下你的配置
wxss: type: 'line', enableScroll: true, xAxis: { disableGrid: false }, extra: { lineStyle: 'straight' },
wxml:
<canvas canvas-id="lineCanvas" bindtouchstart="touchHandler" class="canvas" disable-scroll="true" bindtouchmove="moveHandler" bindtouchend="touchEndHandler"> </canvas>
配置应该没什么特殊的,都是按照参数文档说明配置的,X轴width是100%,
只是没有发现有对X轴2个数据刻度之间间距大小设置的参数,不清楚应该如何控制
楼上解决了吗?
请问这个问题解决了吗 @tonyliu2199
怎么解决的?