Git Product home page Git Product logo

Comments (3)

Mikhus avatar Mikhus commented on July 20, 2024

Hi tux3132,

Actually it is hard to determine what the problem do you have because the code, related to your input element was skipped for some reason by github.

By the way, I'm trying to guess what you need and here is an example:

<!doctype html>
<html>
<head>
    <title>Gtest</title>
    <script src="https://raw.github.com/Mikhus/canv-gauge/master/gauge.js"></script>
</head>
<body>
    <canvas id="g1"></canvas>

    <input type="text" onkeyup="g1.setValue(parseFloat(this.value))" value="0.0">
    <script>
    g1 = new Gauge({ renderTo: 'g1' });
    g1.draw();
    </script>
</body>
</html>

Please, let me know if this solves your issue or what you've mentioned is something different.

Best regards,
Mike

from canvas-gauges.

tux3132 avatar tux3132 commented on July 20, 2024

Hi Mikhus,

I am cruelly null ... I have my gauges in a showGauge() function so it was impossible to set a value. Now the gauges, the events and the draw are directly in the script and all is working fine.

Thank you for your help and your wonderful work.

from canvas-gauges.

Mikhus avatar Mikhus commented on July 20, 2024

You are welcome, tux3132!

Regards,
Mike

from canvas-gauges.

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.