Packages

  • package root
    Definition Classes
    root
  • package scalax
    Definition Classes
    root
  • package chart

    This package contains a library for creating and working with charts.

    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.

    Definition Classes
    scalax
  • package event
    Definition Classes
    chart
  • package exporting
    Definition Classes
    chart
  • JPEGExporter
  • PDFExporter
  • PNGExporter
  • SVGExporter
  • package module

    This package provides a la carte imports.

    This package provides a la carte imports. It is organized into modules following the Scala's Selfless Trait Pattern. Some of these modules depend on each other. In this case, there is often a short documentation in the higher-level module and links to the lower-level modules. Have a look for yourself and start at the highest-level all you can eat module Charting.

    Definition Classes
    chart
p

scalax.chart

exporting

package exporting

Type Members

  1. final class JPEGExporter extends AnyVal with Exporter

    Exports charts to JPEG images.

    Exports charts to JPEG images.

    See also

    module.Exporting

  2. final class PDFExporter extends AnyVal with Exporter

    Exports charts to PDF documents.

    Exports charts to PDF documents.

    See also

    module.Exporting

  3. final class PNGExporter extends AnyVal with Exporter

    Exports charts to PNG images.

    Exports charts to PNG images.

    See also

    module.Exporting

  4. final class SVGExporter extends AnyVal with Exporter

    Exports charts to SVG images.

    Exports charts to SVG images.

    See also

    module.Exporting

Ungrouped