vue-speedometer
v3
released
#10435
palerdot
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Awesome component - easy to use and look great. Is it possible to use VueSpeedometer with non-integer values? I tried with a range 0.0 - 1.0, but it seems to round values. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Vue devs,
v3
version ofvue-speedometer
is released. It is a rewrite with composition api and SFC (single file component).Ref: https://stackblitz.com/edit/vitejs-vite-zvyaxz?file=package.json
Important Changes
Vue 3 support:
Slim Build (Experimental)
There is a
Slim
build available without bundlingd3
. This project usesd3
micro bundles. If your project also usesd3
microbundles, you can opt for slim build. Necessaryd3
dependencies required for slim build to work are -d3-array
,d3-color
,d3-ease
,d3-format
,d3-interpolate
,d3-scale
,d3-selection
,d3-shape
,d3-transition
.Other changes
segmentValueFormatter
prop which accepts a function to format valuesd3 micro modules
For more details please visit palerdot/vue-speedometer#72. You can check out the repo here - https://github.com/palerdot/vue-speedometer/
Beta Was this translation helpful? Give feedback.
All reactions