Comments (7)
Can you provice a graphical example about what you are looking for please?
from medusa.
Thank you for your reply. The following is the URL of the sketch I uploaded
https://pan.baidu.com/s/1V7Ap_iySwf1wZ10I8L99WA?pwd=7hxy
input code: 7hxy
from medusa.
Looks like I have only implemented it in the GaugeSkin.
Gauge gauge = GaugeBuilder.create()
.skinType(SkinType.GAUGE)
.minValue(-100)
.maxValue(0)
.tickLabelDecimals(1)
.startAngle(90)
.angleRange(270)
.decimals(2)
.autoScale(false)
.animated(true)
.build();
```
If that skin doesn't work for you, I'm afraid you need to implement it on your own (which is not too hard, depending on the skin you choose as base). If you take the BarSkin you don't need to worry about the tickmarks which is the most work to get it right. So you could create either a new skin based on the BarSkin or create a pull request with the changes.
from medusa.
Maybe my expression is not accurate enough. I want the value progress bar to express positive and negative through positive or clockwise.Now when the value is negative, the progress bar is always displayed at 0.
from medusa.
Maybe my expression is not accurate enough. I want the value progress bar to express positive and negative through positive or clockwise.Now when the value is negative, the progress bar is always displayed at 0.
from medusa.
Maybe my expression is not accurate enough. I want the value progress bar to express positive and negative through positive or clockwise.Now when the value is negative, the progress bar is always displayed at 0.
gauge = GaugeBuilder.create().interactive(true)
.skinType(Gauge.SkinType.BAR)
.barColor(Color.rgb(0, 255, 0))
.valueColor(Color.BLACK)
.unitColor(Color.BLACK)
.unit("KPH")
.animated(true).value(-75)
.build();
链接: https://pan.baidu.com/s/1yD8hsbbbCpcQuCU0txP2GQ?pwd=kjgx
from medusa.
Yes, I understand but it is not implemented in the BarSkin, so it only works in the GaugeSkin at the moment. Because I'm busy with other stuff, I won't have the time to implement it at the moment. But as mentioned for the BarSkin it should not be too hard to implement it on your own and either use your own skin based on the BarSkin or creeate a pull request which might end up in Medusa.
from medusa.
Related Issues (20)
- How to set propeties boader for bar HOT 1
- Zero not showing in scale when minvalue below zero HOT 4
- Gauge doesn't display current value after rapid update with animation HOT 1
- Remove Maven dependencies on javafx HOT 2
- Application is not running in Intellij IDE and JDK11. HOT 7
- GaugeBuilder for half skin ignores tick space HOT 1
- Exception in application start method HOT 1
- Change the fontsize of TickMarks HOT 9
- Level Gauge HOT 5
- Max value cannot be set with large values HOT 2
- How I use these gauges in my project? Can anyone give me some template.? HOT 2
- Smooth gradient precisely on gradient stop HOT 3
- [question] java: module not found: eu.hansolo.medusa HOT 3
- Issues when moving from version 11.7 to version 16.0.0 HOT 2
- Gauge.SkinType.DASHBOARD gets wobbly near max value HOT 2
- 16.0.1 version not in mvnrepository HOT 2
- Linear Bar functionality
- Setting a GaugeSkin removes Color Settings HOT 2
- Gauge Not Aligning in GridPane HOT 3
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 medusa.