Hi,
would it be possible to provide a JavaFX version of the latest and upcoming JFreeChart releases at Maven Central? This would make usage of JFreeChart in out JavaFX projects much easier.
Maybe the JavaFX version is not as stable as the Swing version. But for the project it would be great when more people use it and provide feedback, fixes, ...
Anyway, thanks for this great library and for starting the JavaFX port!
Bye, Stefan
JavaFX version at Maven Central
Re: JavaFX version at Maven Central
As a workaround I've build a JavaFX version of JFreeChart 1.0.19 with the included Ant script. When displaying an Chart in the ChartViewer I get tons of CSS warnings such as:
I'm using JDK 1.8.0_25 on Mac OS X 10.10.
What's the problem here - is the latest version of JavaFX not supported?
Bye, Stefan
Code: Select all
Dez 06, 2014 11:07:31 PM javafx.scene.CssStyleHelper calculateValue
WARNUNG: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.menu-item>*.label' in stylesheet jar:file:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Dez 06, 2014 11:07:31 PM javafx.scene.CssStyleHelper calculateValue
WARNUNG: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.menu-item>*.label' in stylesheet jar:file:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Dez 06, 2014 11:07:31 PM javafx.scene.CssStyleHelper calculateValue
WARNUNG: Could not resolve '-fx-color' while resolving lookups for '-fx-background-color' from rule '*.menu-up-arrow' in stylesheet jar:file:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Dez 06, 2014 11:07:31 PM javafx.scene.CssStyleHelper calculateValue
WARNUNG: Could not resolve '-fx-color' while resolving lookups for '-fx-background-color' from rule '*.menu-down-arrow' in stylesheet jar:file:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
What's the problem here - is the latest version of JavaFX not supported?
Bye, Stefan
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: JavaFX version at Maven Central
I don't know what causes this...I will try to take a closer look when I have time.
I will add an item to my TODO list for a Maven build for the JavaFX version.
I will add an item to my TODO list for a Maven build for the JavaFX version.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
Re: JavaFX version at Maven Central
Sounds great - thanks!
Re: JavaFX version at Maven Central
Update on the CSS warnings reported in above comments:
They will be printed when using the ChartViewer inside an Dialog window, I'm currently using the backport of the Dialog API from https://bitbucket.org/controlsfx/openjfx-dialogs.
When using the ChartViewer in a simple Stage window, no warnings will be shown.
They will be printed when using the ChartViewer inside an Dialog window, I'm currently using the backport of the Dialog API from https://bitbucket.org/controlsfx/openjfx-dialogs.
When using the ChartViewer in a simple Stage window, no warnings will be shown.
Re: JavaFX version at Maven Central
The CSS warnings are probably caused by a JavaFX bug which will be fixed in 8u40 ( https://javafx-jira.kenai.com/browse/RT-38640 ).
Re: JavaFX version at Maven Central
Today I've tested my application with JavaFX 8u40-b22. There are no more CSS warnings, the problem has been fixed there.
The performance of the JavaFX ChartViewer is also much better now. The resizing of the diagram window is very slow, with JavaFX 8u40 it works with the expected speed.
So, everything OK from JFreeChart side.
Bye, Stefan
The performance of the JavaFX ChartViewer is also much better now. The resizing of the diagram window is very slow, with JavaFX 8u40 it works with the expected speed.
So, everything OK from JFreeChart side.
Bye, Stefan