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 RichCategorizedTuple2s[A, B, C] extends AnyRef

Enriches a collection of categorized data pairs.

Source
RichChartingCollections.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichCategorizedTuple2s
  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 RichCategorizedTuple2s(trav: GenTraversableOnce[(A, GenTraversableOnce[(B, C)])])

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 RichCategorizedTuple2s[A, B, C] to any2stringadd[RichCategorizedTuple2s[A, B, C]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RichCategorizedTuple2s[A, B, C], B)
    Implicit
    This member is added by an implicit conversion from RichCategorizedTuple2s[A, B, C] to ArrowAssoc[RichCategorizedTuple2s[A, B, C]] 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: (RichCategorizedTuple2s[A, B, C]) ⇒ Boolean, msg: ⇒ Any): RichCategorizedTuple2s[A, B, C]
    Implicit
    This member is added by an implicit conversion from RichCategorizedTuple2s[A, B, C] to Ensuring[RichCategorizedTuple2s[A, B, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (RichCategorizedTuple2s[A, B, C]) ⇒ Boolean): RichCategorizedTuple2s[A, B, C]
    Implicit
    This member is added by an implicit conversion from RichCategorizedTuple2s[A, B, C] to Ensuring[RichCategorizedTuple2s[A, B, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): RichCategorizedTuple2s[A, B, C]
    Implicit
    This member is added by an implicit conversion from RichCategorizedTuple2s[A, B, C] to Ensuring[RichCategorizedTuple2s[A, B, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): RichCategorizedTuple2s[A, B, C]
    Implicit
    This member is added by an implicit conversion from RichCategorizedTuple2s[A, B, C] to Ensuring[RichCategorizedTuple2s[A, B, C]] 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 RichCategorizedTuple2s[A, B, C] to StringFormat[RichCategorizedTuple2s[A, B, C]] 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: RichChartingCollections.BoxAndWhiskerCategoryDataset

    [use case] Converts this collection to a BoxAndWhiskerCategoryDataset.

    [use case]

    Converts this collection to a BoxAndWhiskerCategoryDataset.

    Full Signature

    def toBoxAndWhiskerCategoryDataset[D](implicit arg0: Numeric[D], eva: (A) ⇒ Comparable[A], evb: (B) ⇒ Comparable[B], evc: (C) ⇒ Seq[D]): RichChartingCollections.BoxAndWhiskerCategoryDataset

  24. def toCategoryDataset: RichChartingCollections.CategoryDataset

    [use case] Converts this collection to a CategoryDataset.

    [use case]

    Converts this collection to a CategoryDataset.

    Full Signature

    def toCategoryDataset(implicit eva: (A) ⇒ Comparable[A], evb: (B) ⇒ Comparable[B], numc: Numeric[C]): RichChartingCollections.CategoryDataset

  25. def toCategoryTableXYDataset: CategoryTableXYDataset

    [use case] Converts this collection to a CategoryTableXYDataset.

    [use case]

    Converts this collection to a CategoryTableXYDataset.

    Full Signature

    def toCategoryTableXYDataset(implicit eva: (A) ⇒ String, numb: Numeric[B], numc: Numeric[C]): CategoryTableXYDataset

  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def toTimePeriodValuesCollection: RichChartingCollections.TimePeriodValuesCollection

    [use case] Converts this collection to a TimePeriodValuesCollection.

    [use case]

    Converts this collection to a TimePeriodValuesCollection.

    Full Signature

    def toTimePeriodValuesCollection(implicit eva: (A) ⇒ String, evb: (B) ⇒ TimePeriod, numc: Numeric[C]): RichChartingCollections.TimePeriodValuesCollection

  28. def toTimeSeriesCollection: RichChartingCollections.TimeSeriesCollection

    [use case] Converts this collection to a TimeSeriesCollection.

    [use case]

    Converts this collection to a TimeSeriesCollection.

    Full Signature

    def toTimeSeriesCollection(implicit eva: (A) ⇒ Comparable[A], evb: (B) ⇒ RegularTimePeriod, numc: Numeric[C]): RichChartingCollections.TimeSeriesCollection

  29. def toTimeTable: RichChartingCollections.TimeTableXYDataset

    [use case] Converts this collection to a time table.

    [use case]

    Converts this collection to a time table.

    Full Signature

    def toTimeTable(implicit eva: (A) ⇒ Comparable[A], evb: (B) ⇒ TimePeriod, numc: Numeric[C]): RichChartingCollections.TimeTableXYDataset

  30. def toXYSeriesCollection(): RichChartingCollections.XYSeriesCollection

    [use case] Converts this collection to an XYSeriesCollection.

    [use case]

    Converts this collection to an XYSeriesCollection.

    Full Signature

    def toXYSeriesCollection(autoSort: Boolean = true, allowDuplicateXValues: Boolean = true)(implicit eva: (A) ⇒ Comparable[A], numb: Numeric[B], numc: Numeric[C]): RichChartingCollections.IntervalXYDataset

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

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped