GithubHelp home page GithubHelp logo

Comments (4)

javadrajabi avatar javadrajabi commented on August 10, 2024 1

apache/echarts#12496

from flutter_echarts.

javadrajabi avatar javadrajabi commented on August 10, 2024

i have this problem

from flutter_echarts.

entronad avatar entronad commented on August 10, 2024

@HuseyinAkkaya
@javadrajabi

Did you find this issue on an iOS device?
Did you stack some widget that can capture gestures(such as a scrollview or a bottom) upon or under the chart?

I have noticed the issue that on some(maybe all) iOS device, when the chart stack on widget that can capture gestures, all gestrue recognizers will go wrong.
I have no idea to fix it yet. Maybe it's related to the WKWebview.

from flutter_echarts.

javadrajabi avatar javadrajabi commented on August 10, 2024

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://jsfiddle.net/javadrajabi/k9bsjeL0/1/

or

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); } } }] }

Test once with your phone, once with your computer
this code is for web browser.
this code work on desktop device when you click on chart show alert but dont work on mobile device.
dont work on flutter and dont work in web browser (in mobile device)
I think the two are related

from flutter_echarts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.