scalax

chart

package chart

This package contains a library for creating and working with charts. It wraps JFreeChart, much like scala.swing does with the original javax.swing package.

Getting Started

There is an all you can eat import providing all the high-level functionality of this library:

import scalax.chart.api._

val data = for (i <- 1 to 5) yield (i,i)
val chart = XYLineChart(data)
chart.saveAsPNG("/tmp/chart.png")

All of the functionality of the api object is also contained by module.Charting, which you can either import or use as a mixin:

object MyChartApp extends App with scalax.chart.module.Charting {
val data = for (i <- 1 to 5) yield (i,i)
val chart = XYLineChart(data)
chart.saveAsPNG("/tmp/chart.png")
}

The module package provides a la carte imports, which you can import or mix in for only parts of the API. To find out more about the modules in detail, have a look at the documentation of the module.Charting module. From there on you can discover the modules one by one.

Source
package.scala
Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. chart
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class Axis extends AnyRef

    Represents a line of reference.

  2. abstract class CategoryChart extends Chart with Orientable with Labels[chart.module.CategoryToolTipGenerators.CategoryLabelGenerator] with Tooltips[chart.module.CategoryToolTipGenerators.CategoryToolTipGenerator]

    Represents categorized numeric data.

  3. abstract class Chart extends DisplayableChart with Publisher

    Generic graphical representation of data.

  4. abstract class ChartCompanion[C <: Chart] extends DocMacros

    A template class for companion objects of Chart classes.

  5. trait DocMacros extends Any

    Mixin solely for the purpose of providing common documentation macros.

  6. abstract class MultiplePieChart extends Chart with Labels[chart.module.CategoryDatasetConversions.PieLabelGenerator] with Tooltips[chart.module.CategoryDatasetConversions.PieToolTipGenerator]

    Represents categorized numeric data with multiple pies.

  7. abstract class PieChart extends Chart with PieChartLike

    Represents categorized numeric data with a pie.

  8. abstract class RingChart extends Chart with PieChartLike

    Represents categorized numeric data with a ring.

  9. abstract class XYChart extends Chart with Orientable with Labels[chart.module.XYToolTipGenerators.XYLabelGenerator] with Tooltips[chart.module.XYToolTipGenerators.XYToolTipGenerator]

    Represents numeric data.

Value Members

  1. object CategoryChart extends ChartCompanion[CategoryChart]

    Low-level factory for category charts.

  2. object Chart extends ChartCompanion[Chart]

    Provides a very basic factory to turn any JFreeChart into a Chart and contains default settings.

  3. object MultiplePieChart extends ChartCompanion[MultiplePieChart]

    Factory for multiple pie charts.

  4. object PieChart extends ChartCompanion[PieChart]

    Factory for pie charts.

  5. object RingChart extends ChartCompanion[RingChart]

    Factory for ring charts.

  6. object XYChart extends ChartCompanion[XYChart]

    Low-level factory for XY charts.

  7. object api extends Charting

    All-you-can-eat import providing all the high-level functionality of this library.

  8. package event

  9. package exporting

  10. package module

    This package provides a la carte imports.

Inherited from AnyRef

Inherited from Any

Ungrouped