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
  • abstract class Axis extends AnyRef

    Represents a line of reference.

    Represents a line of reference.

    Definition Classes
    chart
  • Label
  • Line
  • Peer
  • Ticks

final class Label extends AnyRef

Represents the label of an axis.

Source
Axis.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Label
  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

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 Label to any2stringadd[Label] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Label, B)
    Implicit
    This member is added by an implicit conversion from Label to ArrowAssoc[Label] 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 angle: Double

    Returns the angle of this label in radians.

  7. final def angle_=(a: Double): Unit

    Sets the angle of this label in radians.

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (Label) ⇒ Boolean, msg: ⇒ Any): Label
    Implicit
    This member is added by an implicit conversion from Label to Ensuring[Label] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Label) ⇒ Boolean): Label
    Implicit
    This member is added by an implicit conversion from Label to Ensuring[Label] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): Label
    Implicit
    This member is added by an implicit conversion from Label to Ensuring[Label] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): Label
    Implicit
    This member is added by an implicit conversion from Label to Ensuring[Label] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def font: module.Imports.Font

    Returns the font of this label.

  18. final def font_=(font: module.Imports.Font): Unit

    Sets the font of this label.

  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Label to StringFormat[Label] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  22. final def insets: module.Imports.RectangleInsets

    Returns the insets (surrounding blank space) of this label.

  23. final def insets_=(insets: module.Imports.RectangleInsets): Unit

    Sets the insets (surrounding blank space) of this label.

  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def location: module.Imports.AxisLabelLocation

    Returns the location of this label.

  26. final def location_=(location: module.Imports.AxisLabelLocation): Unit

    Sets the location of this label.

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  30. final def paint: module.Imports.Paint

    Returns the paint used to draw this label.

  31. final def paint_=(paint: module.Imports.Paint): Unit

    Sets the paint used to draw this label.

  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. final def text: String

    Returns the text of this label.

  34. final def text_=(s: String): Unit

    Sets the text of this label.

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

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Label to any2stringadd[Label]

Inherited by implicit conversion StringFormat from Label to StringFormat[Label]

Inherited by implicit conversion Ensuring from Label to Ensuring[Label]

Inherited by implicit conversion ArrowAssoc from Label to ArrowAssoc[Label]

Ungrouped