You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/04/25 21:19:24 UTC

[GitHub] [incubator-echarts] javadrajabi commented on issue #9906: No way to bring up ECharts-GL tooltip on mobile device

javadrajabi commented on issue #9906:
URL: https://github.com/apache/incubator-echarts/issues/9906#issuecomment-619442115


   i have this problem
   find this issue on an Android device.
   also
   this issue just in 3d GL charts .
   I checked and i realized that :
   chart.on('click'....
   this event not work. also this error is from the original library .
   you can test it on this link
   
   https://echarts.apache.org/examples/en/editor.html
   
   past this code on editor and run ...
   var chart = echarts.init(document.getElementById("chart-panel"),""); chart.on("click",(s)=>{ alert(1); });
   option = { tooltip: {}, backgroundColor: '#fff', visualMap: { show: false, dimension: 2, min: -1, max: 1, inRange: { color: ['#313695', '#4575b4', '#74add1', '#abd9e9', '#e0f3f8', '#ffffbf', '#fee090', '#fdae61', '#f46d43', '#d73027', '#a50026'] } }, xAxis3D: { type: 'value' }, yAxis3D: { type: 'value' }, zAxis3D: { type: 'value' }, grid3D: { viewControl: { // projection: 'orthographic' } }, series: [{ type: 'surface', wireframe: { // show: false }, equation: { x: { step: 0.05 }, y: { step: 0.05 }, z: function (x, y) { if (Math.abs(x) < 0.1 && Math.abs(y) < 0.1) { return '-'; } return Math.sin(x * Math.PI) * Math.sin(y * Math.PI); } } }] }
   this code is for web browser.
   this code work on desktop device when you click on chart show alert but just not work on mobile device.
   click dont work in web browser (in mobile device)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org