We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using the 11.45 release with Java 11 and JavaFX 11.
I want to define the sections of my Gauge in FXML like this:
<Tile userData="/home/gewaechshaus/temperatur" skinType="GAUGE" lowerThreshold="0.0" referenceValue="20.0" threshold="30.0" thresholdVisible="false" maxValue="50.0" minValue="-20.0" title="Gewächshaus" unit="°C" sectionsVisible="true" sectionsAlwaysVisible="true" highlightSections="true" > <sections> <Section start="-20" stop="0.0" color="blue" /> <Section start="0.0" stop="30.0" color="green" /> <Section start="30.0" stop="50" color="red" /> </sections> </Tile>
Unfortunately, the sections are not used.
Doing the same in code works perfectly fine.
Tile test = TileBuilder.create() .skinType(Tile.SkinType.GAUGE) .title("Temp 2") .unit("°C") .minValue(-20) .maxValue(50) .value(22.0) .threshold(30) .thresholdVisible(false) .sections(new Section(-20, 0, Tile.BLUE), new Section(0, 30, Tile.GREEN), new Section(30, 50, Tile.RED)) .sectionsAlwaysVisible(true) .sectionsVisible(true) .build();
Would be really nice to have this in FXML, too.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am using the 11.45 release with Java 11 and JavaFX 11.
I want to define the sections of my Gauge in FXML like this:
Unfortunately, the sections are not used.
Doing the same in code works perfectly fine.
Would be really nice to have this in FXML, too.
The text was updated successfully, but these errors were encountered: