Hi everyone, I'm trying to implement JFreeChart with JavaFX but I seem to be stuck.
What I've done so far:
I've downloaded the JFreeChart 1.0.19.zip from the website.
I've extracted it and from the lib folder, I've imported the jcommon, jfreechart, jfreesvg, hamcrest and servlet jar files into my project.
Then I've found https://bitbucket.org/emxsys/javafx-cha ... hartViewer which tells me that I have to copy the "ChartViewer" source from the distribution but I'm not sure what that means. After a bit of research, I've found that by default the JFreeChart 1.0.19.jar has FXGraphics2D for JavaFX Support which confuses me more.
Basically, I'm confused on how to get a basic setup going.
Could I get any help on getting started?
How to use with JavaFX?
-
- Posts: 513
- Joined: Wed Sep 12, 2007 3:18 pm
Re: How to use with JavaFX?
For reference, I built a JAR with JavaFX support from the 1.0.19 source like this.
Re: How to use with JavaFX?
Thanks!John Matthews wrote:For reference, I built a JAR with JavaFX support from the 1.0.19 source like this.
Trying to compile with maven kept failing the errors (even with error checking turned off!).
Changing it as per your post has helped me compile and function on JavaFX, extremely appreciate the help!
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: How to use with JavaFX?
I'll get a new release of FXGraphics2D out, then release a version of JFreeChart that has JavaFX support out-of-the-box. That will make it easier for everyone.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Re: How to use with JavaFX?
+1 for releasing new version
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: How to use with JavaFX?
Orson Charts just released, JFreeChart next on my list.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

