Simple line chart example

A discussion forum for FXGraphics2D (adds a Java2D API to the JavaFX Canvas).
Locked
zoltanik
Posts: 2
Joined: Tue Feb 21, 2017 4:06 pm
antibot: No, of course not.

Simple line chart example

Post by zoltanik » Tue Feb 21, 2017 4:09 pm

I tried to find simple line chart example (2D) for javafx, but i didn't succeed to find one.
I tried ti look in the demoes and searched in google, but with out any success...
Could anyone direct me for an example code or something that can helps?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: Simple line chart example

Post by david.gilbert » Tue Feb 21, 2017 7:44 pm

There's this one (a time series, but that's more or less a line chart):

https://github.com/jfree/jfreechart/blo ... Demo1.java

You'll need to check out the project from GitHub to run it properly, the new release is coming soon.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked