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 RichChartingCollections extends Imports

    Contains enrichments for collections for conversions to datasets.

    Contains enrichments for collections for conversions to datasets. To see which conversions are provided have a look at the classes defined below.

    Definition Classes
    module
  • AxisLabelLocation
  • ChartTheme
  • Layer
  • RichCategorizedTuple2s
  • RichCategorizedTuple4s
  • RichTuple2s
  • RichTuple4s

implicit class RichTuple2s[A, B] extends AnyRef

Enriches a collection of data pairs.

Source
RichChartingCollections.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichTuple2s
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichTuple2s(trav: GenTraversableOnce[(A, B)])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from RichTuple2s[A, B] to any2stringadd[RichTuple2s[A, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RichTuple2s[A, B], B)
    Implicit
    This member is added by an implicit conversion from RichTuple2s[A, B] to ArrowAssoc[RichTuple2s[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (RichTuple2s[A, B]) ⇒ Boolean, msg: ⇒ Any): RichTuple2s[A, B]
    Implicit
    This member is added by an implicit conversion from RichTuple2s[A, B] to Ensuring[RichTuple2s[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (RichTuple2s[A, B]) ⇒ Boolean): RichTuple2s[A, B]
    Implicit
    This member is added by an implicit conversion from RichTuple2s[A, B] to Ensuring[RichTuple2s[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): RichTuple2s[A, B]
    Implicit
    This member is added by an implicit conversion from RichTuple2s[A, B] to Ensuring[RichTuple2s[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): RichTuple2s[A, B]
    Implicit
    This member is added by an implicit conversion from RichTuple2s[A, B] to Ensuring[RichTuple2s[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from RichTuple2s[A, B] to StringFormat[RichTuple2s[A, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toBoxAndWhiskerCategoryDataset(name: String): RichChartingCollections.BoxAndWhiskerCategoryDataset

    [use case] Converts this collection to a BoxAndWhiskerCategoryDataset.

    [use case]

    Converts this collection to a BoxAndWhiskerCategoryDataset.

    name

    the name of the series (will show in the legend)

    Full Signature

    def toBoxAndWhiskerCategoryDataset[C](name: Comparable[_] = "")(implicit arg0: Numeric[C], eva: (A) ⇒ Comparable[A], evc: (B) ⇒ Seq[C]): RichChartingCollections.BoxAndWhiskerCategoryDataset

  24. def toBoxAndWhiskerXYDataset(name: String): RichChartingCollections.BoxAndWhiskerXYDataset

    [use case] Converts this collection to a BoxAndWhiskerXYDataset.

    [use case]

    Converts this collection to a BoxAndWhiskerXYDataset.

    name

    the name of the series (will show in the legend)

    Full Signature

    def toBoxAndWhiskerXYDataset[C](name: Comparable[_] = "")(implicit arg0: Numeric[C], eva: (A) ⇒ Date, evb: (B) ⇒ Seq[C]): RichChartingCollections.BoxAndWhiskerXYDataset

  25. def toCategoryDataset(name: String): RichChartingCollections.CategoryDataset

    [use case] Converts this collection to a CategoryDataset.

    [use case]

    Converts this collection to a CategoryDataset.

    name

    the name of the series (will show in the legend)

    Full Signature

    def toCategoryDataset(name: Comparable[_] = "")(implicit eva: (A) ⇒ Comparable[A], numb: Numeric[B]): RichChartingCollections.CategoryDataset

  26. def toPieDataset: RichChartingCollections.PieDataset

    [use case] Converts this collection to a PieDataset.

    [use case]

    Converts this collection to a PieDataset.

    Full Signature

    def toPieDataset(implicit eva: (A) ⇒ Comparable[A], numb: Numeric[B]): RichChartingCollections.PieDataset

  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def toTimePeriodValues(name: String): RichChartingCollections.TimePeriodValues

    [use case] Converts this collection to TimePeriodValues.

    [use case]

    Converts this collection to TimePeriodValues.

    name

    the name of the series (will show in the legend)

    Full Signature

    def toTimePeriodValues(name: String = "")(implicit eva: (A) ⇒ TimePeriod, numb: Numeric[B]): RichChartingCollections.TimePeriodValues

  29. def toTimePeriodValuesCollection(name: String): RichChartingCollections.TimePeriodValuesCollection

    [use case] Converts this collection to a TimePeriodValuesCollection.

    [use case]

    Converts this collection to a TimePeriodValuesCollection.

    name

    the name of the series (will show in the legend)

    Full Signature

    def toTimePeriodValuesCollection(name: String = "")(implicit eva: (A) ⇒ TimePeriod, numb: Numeric[B]): RichChartingCollections.TimePeriodValuesCollection

  30. def toTimeSeries(name: String): RichChartingCollections.TimeSeries

    [use case] Converts this collection to a TimeSeries.

    [use case]

    Converts this collection to a TimeSeries.

    name

    the name of the series (will show in the legend)

    Full Signature

    def toTimeSeries(name: Comparable[_] = "")(implicit eva: (A) ⇒ RegularTimePeriod, numb: Numeric[B]): RichChartingCollections.TimeSeries

  31. def toTimeSeriesCollection(name: String): RichChartingCollections.TimeSeriesCollection

    [use case] Converts this collection to a TimeSeriesCollection.

    [use case]

    Converts this collection to a TimeSeriesCollection.

    name

    the name of the series (will show in the legend)

    Full Signature

    def toTimeSeriesCollection(name: Comparable[_] = "")(implicit eva: (A) ⇒ RegularTimePeriod, numb: Numeric[B]): RichChartingCollections.TimeSeriesCollection

  32. def toXYSeries(name: String): RichChartingCollections.XYSeries

    [use case] Converts this collection to an XYSeries.

    [use case]

    Converts this collection to an XYSeries.

    name

    the name of the series (will show in the legend)

    Full Signature

    def toXYSeries(name: Comparable[_] = "", autoSort: Boolean = true, allowDuplicateXValues: Boolean = true)(implicit numa: Numeric[A], numb: Numeric[B]): RichChartingCollections.XYSeries

  33. def toXYSeriesCollection(name: String): RichChartingCollections.XYSeriesCollection

    [use case] Converts this collection to an XYSeriesCollection.

    [use case]

    Converts this collection to an XYSeriesCollection.

    name

    the name of the series (will show in the legend)

    Full Signature

    def toXYSeriesCollection(name: Comparable[_] = "", autoSort: Boolean = true, allowDuplicateXValues: Boolean = true)(implicit eva: Numeric[A], numb: Numeric[B]): RichChartingCollections.XYSeriesCollection

  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (RichTuple2s[A, B], B)
    Implicit
    This member is added by an implicit conversion from RichTuple2s[A, B] to ArrowAssoc[RichTuple2s[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RichTuple2s[A, B] to any2stringadd[RichTuple2s[A, B]]

Inherited by implicit conversion StringFormat from RichTuple2s[A, B] to StringFormat[RichTuple2s[A, B]]

Inherited by implicit conversion Ensuring from RichTuple2s[A, B] to Ensuring[RichTuple2s[A, B]]

Inherited by implicit conversion ArrowAssoc from RichTuple2s[A, B] to ArrowAssoc[RichTuple2s[A, B]]

Ungrouped