wx-charts icon indicating copy to clipboard operation
wx-charts copied to clipboard

如何调整scroll line类型X轴两个间隔数据的间距长度?

Open tonyliu2199 opened this issue 7 years ago • 7 comments

tonyliu2199 avatar Sep 26 '17 03:09 tonyliu2199

qq 20170926112331

tonyliu2199 avatar Sep 26 '17 08:09 tonyliu2199

另外为什么2和4个月之间的3个月没有出现?空间够显示的

tonyliu2199 avatar Sep 26 '17 08:09 tonyliu2199

请提供下你的配置

xiaolin3303 avatar Sep 27 '17 09:09 xiaolin3303

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 avatar Sep 28 '17 03:09 tonyliu2199

楼上解决了吗?

zhaodazhe avatar Jul 04 '18 08:07 zhaodazhe

请问这个问题解决了吗 @tonyliu2199

syuenkei avatar Sep 07 '18 07:09 syuenkei

怎么解决的?

SuiTang avatar Jun 06 '19 07:06 SuiTang