XChart Example Code

Wait, there's even more!

In addition to the examples found here, there is a complete demo app for all of XChart’s capabilities, styles, and configurations. Along with the XChart release there is also a corresponding xchart-demo jar, a Swing application, which can be run with the following command: java -cp xchart-demo-3.5.4.jar:xchart-3.5.4.jar org.knowm.xchart.demo.XChartDemo. (Note that on a Windows machine, you need to replace the colon : with a semicolon ;!) Full source code can be found on Github.