Comments (3)
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.
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.
You are welcome, tux3132!
Regards,
Mike
from canvas-gauges.
Related Issues (20)
- can't assign a deferent value to multiple gauges in one page
- canvas to SVG HOT 1
- Only Half of Linear Gauge appearing in Home Assistant HOT 1
- Horizontal rotating gauge
- No valuebox when using a horizontal linear gauge?
- radial gauge seems to be broken. HOT 2
- Upstream Dependency Conflicts
- Congratulations on your AWESOME script! HOT 1
- AnimationRule HOT 1
- Unable to change Highlight HOT 1
- Interactive Gauges
- Gauge title spanning two lines? HOT 2
- deviation mode for linear gauges HOT 1
- Canvas-Gauge HOT 1
- Draw problem after a few value updates HOT 4
- RadialGauge animationTarget = "plate" turning needle issue HOT 1
- compass gauge with int values HOT 1
- howto adjust LinearGauge to container without cutting scale
- CSS warnings "Expected color but found ‘null’
- is there a possibility to read logarithmic scales in stead of linear? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvas-gauges.