Git Product home page Git Product logo

Comments (3)

mosvhy avatar mosvhy commented on June 9, 2024

Just like me, it crashed when using Morris Line and Area. I implement this morris code using Promise and await inside a dynamic page that has different scripts that are loaded each page. It will be crashed if using await to load the script, and it was okay if does not use await to load the script. And the script that I mean is not the library, but the script to initialize the charts.
I test it with 5 examples morris charts: Morris Donut, Bar, BarStacked, Line, and Area. I also have another example using jQuery Flot and jQuery Sparkline in that sample script and still okay without Morris LIne and Area in await mode.

Library version: morris.js v0.5.0, jquery.js v2.1.0;
Browser version: Firefox ESR v60.7.2esr (64-bit);

from morris.js.

pierresh avatar pierresh commented on June 9, 2024

Hello, it would be great if you could provide any log that appears in the console.

from morris.js.

pierresh avatar pierresh commented on June 9, 2024

Actually, your values in item1 are not numeric. These should be numeric otherwise it is normal they cannot be shown on the Y-axis.

from morris.js.

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.