Factory for area charts.
Factory for bar charts.
Factory for box and whisker charts.
Factory for line charts.
Factory for multiple pie charts.
Factory for pie charts.
Factory for ring charts.
Factory for numeric area charts.
Factory for numeric bar charts.
Factory for box and whisker charts.
Factory for numeric deviation charts.
Factory for numeric line charts.
Contains various factories to conveniently create charts.
Usage
The only argument needed to create a chart is a dataset:
The factories make heavy use of default arguments, so you have to type as less as possible:
val chart = XYLineChart(dataset)
For better readability of your own code, you should name all other arguments:
Chart Themes
The default theme used is the JFreeChart theme. To apply a different theme to the charts created by the factories, simply define an implicit chart theme in scope, e.g. the darkness theme from JFreeChart: