scalax.chart

Chart

trait Chart[P <: Plot] extends DisplayableChart with StorableChart

Generic graphical representation of data.

P

used plot type

Source
Chart.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Chart
  2. StorableChart
  3. WritableChart
  4. EncodableChart
  5. DisplayableChart
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def peer: JFreeChart

    Returns the underlying chart.

  2. abstract def plot: P

    Returns the plot.

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

    Implicit information
    This member is added by an implicit conversion from Chart[P] to ArrowAssoc[Chart[P]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. def antiAlias: Boolean

    Returns true if this chart is drawn with anti-aliasing.

  7. def antiAlias_=(a: Boolean): Unit

    Sets whether or not this chart is drawn with anti-aliasing.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def backgroundPaint: Imports.Paint

    Returns the paint used for the chart background.

  10. def backgroundPaint_=(p: Imports.Paint): Unit

    Sets the paint used for the chart background.

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def encodeAsJPEG(dim: (Int, Int)): Array[Byte]

    Returns the chart as a byte encoded JPEG image.

    Returns the chart as a byte encoded JPEG image.

    dim

    dimension / geometry / width x height of the output

    Definition Classes
    EncodableChart
  13. def encodeAsPNG(dim: (Int, Int)): Array[Byte]

    Returns the chart as a byte encoded PNG image.

    Returns the chart as a byte encoded PNG image.

    dim

    dimension / geometry / width x height of the output

    Definition Classes
    EncodableChart
  14. def ensuring(cond: (Chart[P]) ⇒ Boolean, msg: ⇒ Any): Chart[P]

    Implicit information
    This member is added by an implicit conversion from Chart[P] to Ensuring[Chart[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Chart[P]) ⇒ Boolean): Chart[P]

    Implicit information
    This member is added by an implicit conversion from Chart[P] to Ensuring[Chart[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): Chart[P]

    Implicit information
    This member is added by an implicit conversion from Chart[P] to Ensuring[Chart[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Chart[P]

    Implicit information
    This member is added by an implicit conversion from Chart[P] to Ensuring[Chart[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Chart[P] to StringFormat[Chart[P]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def saveAsJPEG(file: String, dim: (Int, Int)): Unit

    Saves the chart as a JPEG image.

    Saves the chart as a JPEG image.

    file

    the output file

    dim

    dimension / geometry / width x height of the output

    Definition Classes
    StorableChart
  29. def saveAsPDF(file: String, dim: (Int, Int), fontMapper: FontMapper = new DefaultFontMapper): Unit

    Saves the chart as a PDF.

    Saves the chart as a PDF.

    file

    the output file

    dim

    dimension / geometry / width x height of the output

    fontMapper

    handles mappings between Java AWT Fonts and PDF fonts

    Definition Classes
    StorableChart
  30. def saveAsPNG(file: String, dim: (Int, Int)): Unit

    Saves the chart as a PNG image.

    Saves the chart as a PNG image.

    file

    the output file

    dim

    dimension / geometry / width x height of the output

    Definition Classes
    StorableChart
  31. def show(title: String = "", dim: (Int, Int) = (DEFAULT_WIDTH,DEFAULT_HEIGHT), scrollable: Boolean = false): Unit

    Shows the chart in a window.

    Shows the chart in a window.

    title

    the title of the enclosing frame

    scrollable

    whether the enclosing panel is scrollable

    Definition Classes
    DisplayableChart
  32. def show: Unit

    Shows the chart in a window.

    Shows the chart in a window.

    Definition Classes
    DisplayableChart
  33. object subtitles extends Buffer[Title]

    Contains this charts subtitles and legends.

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def title: String

    Returns the title of this chart.

  36. def title_=(title: String): Unit

    Sets the title of this chart.

  37. def toFrame(title: String = "", scrollable: Boolean = true): Frame

    Wraps a frame around this chart.

    Wraps a frame around this chart.

    title

    the title of the enclosing frame

    scrollable

    whether the enclosing panel is scrollable

    Definition Classes
    DisplayableChart
  38. def toPanel: Panel

    Wraps a panel around this chart.

    Wraps a panel around this chart.

    Definition Classes
    DisplayableChart
  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def writeAsJPEG(os: OutputStream, dim: (Int, Int)): Unit

    Writes the chart as a JPEG to an output stream.

    Writes the chart as a JPEG to an output stream.

    os

    stream to where will be written

    dim

    dimension / geometry / width x height of the output

    Definition Classes
    WritableChart
  44. def writeAsPDF(os: OutputStream, dim: (Int, Int), fontMapper: FontMapper = new DefaultFontMapper): Unit

    Writes the chart as a PDF to an output stream.

    Writes the chart as a PDF to an output stream.

    os

    stream to where will be written

    dim

    dimension / geometry / width x height of the output

    fontMapper

    handles mappings between Java AWT Fonts and PDF fonts

    Definition Classes
    WritableChart
  45. def writeAsPNG(os: OutputStream, dim: (Int, Int)): Unit

    Writes the chart as a PNG to an output stream.

    Writes the chart as a PNG to an output stream.

    os

    stream to where will be written

    dim

    dimension / geometry / width x height of the output

    Definition Classes
    WritableChart
  46. def [B](y: B): (Chart[P], B)

    Implicit information
    This member is added by an implicit conversion from Chart[P] to ArrowAssoc[Chart[P]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from StorableChart

Inherited from WritableChart

Inherited from EncodableChart

Inherited from DisplayableChart

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Chart[P] to any2stringadd[Chart[P]]

Inherited by implicit conversion StringFormat from Chart[P] to StringFormat[Chart[P]]

Inherited by implicit conversion Ensuring from Chart[P] to Ensuring[Chart[P]]

Inherited by implicit conversion ArrowAssoc from Chart[P] to ArrowAssoc[Chart[P]]

Ungrouped