'' '' ChartFactories contains all high-level factories to conveniently create charts.
'' '' ChartFactories contains all high-level factories to conveniently create charts.
val data = for (i <- 1 to 5) yield (i,i)
val chart = XYLineChart(data)
== Creating Charts ==
The only argument needed to create a chart is a dataset:
val data = for (i <- 1 to 5) yield (i,i)
val dataset = data.toXYSeriesCollection("some data")
val chart = XYLineChart(dataset)
== Creating Charts with 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:
implicit val theme = org.jfree.chart.StandardChartTheme.createDarknessTheme
- Companion
- class
Type members
Inherited classlikes
Factory for area charts.
Factory for area charts.
- Inherited from
- CategoryChartFactories
Factory for box and whisker charts.
Factory for box and whisker charts.
- Inherited from
- BoxAndWhiskerChartFactories
A type class that converts instances of type A
to instances of type X
.
A type class that converts instances of type A
to instances of type X
.
- Inherited from
- Converting
A generic companion for Converter type classes.
A generic companion for Converter type classes.
- Type Params
- C
the converter type
- XX
constrains the output type
X
of the converter
- Inherited from
- Converting
Factory for line charts.
Factory for line charts.
- Inherited from
- CategoryChartFactories
Enriches a collection of categorized data pairs.
Enriches a collection of categorized data pairs.
- Inherited from
- RichChartingCollections
Enriches a collection of categorized 4-tuples.
Enriches a collection of categorized 4-tuples.
- Inherited from
- RichChartingCollections
Enriches a collection of data pairs.
Enriches a collection of data pairs.
- Inherited from
- RichChartingCollections
Enriches a collection of data 4-tuples.
Enriches a collection of data 4-tuples.
- Inherited from
- RichChartingCollections
Contains default ToCategoryMarker instances.
Contains default ToCategoryMarker instances.
- Inherited from
- MarkerConversions
Converts some type A
to a category marker.
Converts some type A
to a category marker.
- Inherited from
- MarkerConversions
Contains default ToMarker instances.
Contains default ToMarker instances.
- Inherited from
- MarkerConversions
Factory for numeric area charts.
Factory for numeric area charts.
- Inherited from
- XYChartFactories
Factory for numeric bar charts.
Factory for numeric bar charts.
- Inherited from
- XYChartFactories
Factory for box and whisker charts.
Factory for box and whisker charts.
- Inherited from
- BoxAndWhiskerChartFactories
Factory for numeric deviation charts.
Factory for numeric deviation charts.
- Inherited from
- XYChartFactories
Factory for numeric line charts.
Factory for numeric line charts.
- Inherited from
- XYChartFactories
Factory for numeric scatter charts.
Factory for numeric scatter charts.
- Inherited from
- XYChartFactories
Inherited types
Function alias for creating item labels for category charts.
Function alias for creating item labels for category charts.
- Inherited from
- Imports
Function alias for creating tooltips for category charts.
Function alias for creating tooltips for category charts.
- Inherited from
- Imports
Function alias for creating item labels for pie charts.
Function alias for creating item labels for pie charts.
- Inherited from
- Imports
Function alias for creating tooltips for pie charts.
Function alias for creating tooltips for pie charts.
- Inherited from
- Imports
Function alias for creating item labels for xy charts.
Function alias for creating item labels for xy charts.
- Inherited from
- Imports
Function alias for creating tooltips for xy charts.
Function alias for creating tooltips for xy charts.
- Inherited from
- Imports