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 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
  • trait RichPlot extends MarkerConversions

    RichPlot contains enriched plot types to conveniently work with the plot domain, range and marking.

    RichPlot contains enriched plot types to conveniently work with the plot domain, range and marking.

    chart.plot.domain.axis.label.text = "my label"
    chart.plot.range.markers += ((1,1))

    Marking

    There are enrichments concerning the handling of markers in plots:

    chart.plot.domain.markers += 1
    chart.plot.range.markers += ((1,1))
    
    for (marker <- chart.plot.range.markers) {
      // do something with marker
    }

    Marker Conversions

    MarkerConversions contains type class based conversions from certain types to Marker instances.

    chart.plot.domain.markers += 1
    Definition Classes
    module
  • implicit class RichFastScatterPlot extends AnyRef

    Enriches a FastScatterPlot.

    Enriches a FastScatterPlot.

    Definition Classes
    RichPlot
  • object range
    Definition Classes
    RichFastScatterPlot
  • axis

object axis extends Axis

Returns the range axis.

Source
RichPlot.scala
Linear Supertypes
Axis, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. axis
  2. Axis
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class Label extends AnyRef

    Represents the label of an axis.

    Represents the label of an axis.

    Definition Classes
    Axis
  2. final class Line extends AnyRef

    Represents the line of an axis.

    Represents the line of an axis.

    Definition Classes
    Axis
  3. final class Ticks extends AnyRef

    Represents the tick marks of an axis.

    Represents the tick marks of an axis.

    Definition Classes
    Axis
  4. type Peer = ValueAxis

    Returns the peer axis type.

    Returns the peer axis type.

    Definition Classes
    axisAxis

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final val label: Label

    Returns the label of this axis.

    Returns the label of this axis.

    Definition Classes
    Axis
  13. final val line: Line

    Returns the line of this axis.

    Returns the line of this axis.

    Definition Classes
    Axis
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. final def peer: ValueAxis

    Returns the underlying axis.

    Returns the underlying axis.

    Definition Classes
    axisAxis
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. final val ticks: Ticks

    Returns the tick marks of this axis.

    Returns the tick marks of this axis.

    Definition Classes
    Axis
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def visible: Boolean

    Returns true if this axis is visible.

    Returns true if this axis is visible.

    Definition Classes
    Axis
  22. final def visible_=(b: Boolean): Unit

    Sets whether this axis is visible.

    Sets whether this axis is visible.

    Definition Classes
    Axis
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Axis

Inherited from AnyRef

Inherited from Any

Ungrouped