Join Slack
Powered by
Is there a sample available where JFreeChart is us...
# tornadofx
n
napperley
06/05/2019, 8:28 AM
Is there a sample available where JFreeChart is used with TornadoFX?
a
altavir
06/06/2019, 4:36 AM
Well, I used it a lot together, but I do not think my samples will make any sense because the chart logic and tornado logic are separated.
altavir
06/06/2019, 4:39 AM
Basically, you need to use JFreeChart fx wrapper and produce a JavaFX node. Some code here:
https://bitbucket.org/Altavir/numass/src/d2d0cb10d3e48ffadaa393fddfd81291694cd172/numass-control/cryotemp/src/main/kotlin/inr/numass/control/cryotemp/PKT8Display.kt#lines-68
👍 1
altavir
06/06/2019, 4:42 AM
Here is the code for wrapper:
https://bitbucket.org/Altavir/dataforge/src/ee1117d4cbfe63a86ae207e3f799f4cd21c0b9e2/dataforge-plots/plots-jfc/src/main/kotlin/hep/dataforge/plots/jfreechart/JFreeChartFrame.kt#lines-93
👍 1
51
Views
Open in Slack
Previous
Next