Comments (5)
@codespikex What browser & version are you facing this issue? Can you create a fiddle?
from svg-gauge.
Hi @codespikex
I saw the code and the problem seems to be this line
https://github.com/codespikex/vu-quiz-assistant/blob/6734f0e660181ac68eba195549ef7e1b9f413817/src/js/extension/components/quiz/scoreGauge.vue#L40
It should be
gauge = /* new */ Gauge(el, options)
Can you try it out?
from svg-gauge.
@naikus
changed
https://github.com/codespikex/vu-quiz-assistant/blob/6734f0e660181ac68eba195549ef7e1b9f413817/src/js/extension/components/quiz/scoreGauge.vue#L40
to
https://github.com/codespikex/vu-quiz-assistant/blob/main/src/js/extension/components/quiz/scoreGauge.vue#L40
but the error is still there
from svg-gauge.
@codespikex Thanks for reporting this! The gauge options must contain an initial value via the value
option. You can set it to whatever initial value you like.
Meanwhile I'll fix it the take a default value.
Thanks again
P.S. Btw the extension's UI is quite cool!
from svg-gauge.
Thanks for pointing that out.
I was so obvious when i was trying to reproduce it.
from svg-gauge.
Related Issues (20)
- Experiencing a ReferenceError: k is not defined (gauge.js) HOT 5
- Animations not working in React HOT 3
- Gauge label transform not working on Safari HOT 3
- CSS for value-text not working HOT 1
- Use in a vue component? HOT 6
- Is it possible to display decimals in labels HOT 1
- Color Text Value
- Add Min/Max labels? HOT 1
- Dynamic setMaxValue HOT 2
- In the old webview, the number display position is wrong HOT 2
- -
- Add TypeScript types HOT 5
- SetMaxValue does not update the label if "this.max" is used in the label HOT 2
- Floating Point Number HOT 1
- function getGauge(myHtmlElement) like. HOT 1
- Gauge is not defined HOT 4
- Changing the direction of animation HOT 4
- Ticks support
- Decimal places and ºC symbol 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 svg-gauge.