Comments (8)
That is correct, the font size will be calculated automtically. You can just define a custom font.
from tilesfx.
Argh, that's unfortunate. I'm working on a kind of visualization for a simulation that is shown on a touch screen device. Currently the font is too small to be usable.
Edit: Ah, I see, I get a bigger font if I increase the size of the tile. Maybe I can change my layout to include larger tiles.
from tilesfx.
I could also add custom font size but that could lead to terrible effects if the text is too long. The main problem is how to resize the font when resizing the tile if you use a custom font size.
from tilesfx.
See the edit above, I can increase the tile size.
Letting the user change the font size as an option could be a good idea in some instances. For example, in my case the layout is fixed and I do not have to worry about resizing, so I could adjust the font size by hand.
from tilesfx.
Though I don't like asking questions not related to the topic I also don't want to open a new issue: How can I add a unit the a bar chart item? I tried setting a format string ("%g kWh"
), but this does nothing.
from tilesfx.
You are right, setting the formatString was not working correctly. Should work now...
from tilesfx.
Could you please remove the System.out.println(formatString)
call in your code? Or change it into a log output with debug level.
from tilesfx.
Ups...removed, thx for the hint :)
from tilesfx.
Related Issues (20)
- Might be a node worth adding to your collection. HOT 2
- tresholdProperty can not be used with binding HOT 11
- How to hide the Finishing Time from this countdown timer? HOT 2
- how to hide the percentage icon from Circular Progress HOT 4
- Level with Fluid Skin
- Is the LED Tile Vanished? HOT 16
- Smoothed Chart not showing new series HOT 3
- Tooltips on Data Points HOT 1
- Support for empty data points HOT 2
- SkinType.TIME requires time in LocalTime HOT 2
- SkinType.CHARACTER can't change description color HOT 1
- Occasionally appearing exception in v17.1.3 HOT 4
- Split module issues when trying to integrate into a Maven application HOT 5
- LineChart display value? HOT 1
- Tile css is getting overridden HOT 8
- gauge spark line value text is gone HOT 1
- ItemSorting.NONE does not work for BarChart HOT 1
- Tile - Set distance between border and inner object
- In a Java 17 modular project, the demo cannot be run and the resource files cannot be loaded correctly. HOT 1
- Problem with SPARK_LINE when adding same value many times sequentially HOT 2
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 tilesfx.