972688893 opened a new issue #9359: 小程序应用Echarts在手机上无法拖动问题 URL: https://github.com/apache/incubator-echarts/issues/9359 <!-- 为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。 --> ### One-line summary [问题简述] 在小程序中使用Echats,用微信开发者工具生成二维码在手机端阅览,echarts的折线图无法跟随滚动条拖动问题,请问有遇到相同问题的大牛吗,请教一下怎么解决的? ### Version & Environment [版本及环境] + ECharts version [ECharts 版本]: + Browser version [浏览器类型和版本]: + OS Version [操作系统类型和版本]: ### Expected behaviour [期望结果] ### ECharts option [ECharts配置项] <!-- Copy and paste your 'echarts option' here. --> <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] --> ```javascript option = { backgroundColor: '#fff', tooltip: {}, grid: { x: 0, y: 30, width: 1110, height: 70 }, xAxis: { data: [8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8], show: false, axisLine: { // 坐标轴线 lineStyle: { // 属性lineStyle(详见lineStyle)控制线条样式 color: '#F1F3F5', type: 'solid' }, }, axisTick: { // 坐标轴小标记 "show": false, // 属性show控制显示与否,默认不显示 }, axisLabel: { // 坐标轴文本标签,详见axis.axisLabel interval: 4, }, minInterval: 50 }, yAxis: { type: 'value', axisTick: { // 坐标轴小标记 "show": false, // 属性show控制显示与否,默认不显示 }, axisLabel: { formatter: '{value} %' }, splitLine: { show: false, lineStyle: { // 属性lineStyle(详见lineStyle)控制线条样式 color: '#F1F3F5', type: 'solid' }, }, axisLine: { // 坐标轴线 show: false, // 默认显示,属性show控制显示与否 }, axisLabel: { // 坐标轴文本标签,详见axis.axisLabel show: false, }, }, series: [{ name: '最高温', type: 'line', // data: [14,18,15,16,17,14,18,15,16,17,14,18,15,16,19], data: temMax, symbolSize: 8, label: { normal: { show: true, position: 'top', color: '#000', textStyle: { fontSize: 14 } } }, itemStyle: { normal: { color: 'rgb(248,215,102)', label: { show: true, formatter: '{c}°' }, lineStyle: { color: "rgb(248,215,102)" }, } } }, { name: '最低温', type: 'line', data: temMin, symbolSize: 8, label: { normal: { show: true, position: 'bottom', color: '#000', textStyle: { fontSize: 14 } } }, itemStyle: { normal: { color: "rgb(77,208,238)", label: { show: true, formatter: '{c}°' }, lineStyle: { color: "rgb(77,208,238)" }, lineWidth: 57 } } }] } ``` ### Other comments [其他信息] <!-- For example: Screenshot or Online demo --> <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
