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 event
    Definition Classes
    chart
  • package exporting
    Definition Classes
    chart
  • 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
  • Axis
  • CategoryChart
  • Chart
  • ChartCompanion
  • DocMacros
  • MultiplePieChart
  • PieChart
  • RingChart
  • SpiderWebChart
  • XYChart
  • api

abstract class SpiderWebChart extends Chart

Represents categorized numeric data with a "Spider Web" radar.

Source
SpiderWebChart.scala
Linear Supertypes
Chart, Publisher, Reactor, DisplayableChart, DocMacros, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpiderWebChart
  2. Chart
  3. Publisher
  4. Reactor
  5. DisplayableChart
  6. DocMacros
  7. AnyRef
  8. 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 SpiderWebChart()
    Attributes
    protected

Type Members

  1. type Plot = SpiderWebPlot

    Returns the underlying plot type.

    Returns the underlying plot type.

    Definition Classes
    SpiderWebChartChart

Abstract Value Members

  1. abstract def peer: module.Imports.JFreeChart

    Returns the underlying chart.

    Returns the underlying chart.

    Definition Classes
    Chart

Concrete Value Members

  1. object subtitles extends Buffer[Title]

    Contains this charts subtitles and legends.

    Contains this charts subtitles and legends.

    Definition Classes
    Chart
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SpiderWebChart to any2stringadd[SpiderWebChart] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (SpiderWebChart, B)
    Implicit
    This member is added by an implicit conversion from SpiderWebChart to ArrowAssoc[SpiderWebChart] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def antiAlias: Boolean

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

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

    Definition Classes
    Chart
  8. def antiAlias_=(a: Boolean): Unit

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

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

    Definition Classes
    Chart
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def backgroundPaint: module.Imports.Paint

    Returns the paint used for the chart background.

    Returns the paint used for the chart background.

    Definition Classes
    Chart
  11. def backgroundPaint_=(p: module.Imports.Paint): Unit

    Sets the paint used for the chart background.

    Sets the paint used for the chart background.

    Definition Classes
    Chart
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def deafTo(ps: Publisher*): Unit
    Definition Classes
    Reactor
  14. def ensuring(cond: (SpiderWebChart) ⇒ Boolean, msg: ⇒ Any): SpiderWebChart
    Implicit
    This member is added by an implicit conversion from SpiderWebChart to Ensuring[SpiderWebChart] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (SpiderWebChart) ⇒ Boolean): SpiderWebChart
    Implicit
    This member is added by an implicit conversion from SpiderWebChart to Ensuring[SpiderWebChart] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): SpiderWebChart
    Implicit
    This member is added by an implicit conversion from SpiderWebChart to Ensuring[SpiderWebChart] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): SpiderWebChart
    Implicit
    This member is added by an implicit conversion from SpiderWebChart to Ensuring[SpiderWebChart] 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
    This member is added by an implicit conversion from SpiderWebChart to StringFormat[SpiderWebChart] 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. def listenTo(ps: Publisher*): Unit
    Definition Classes
    Reactor
  26. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }
    Attributes
    protected
    Definition Classes
    Publisher
  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. def plot: module.CategoryDatasetConversions.SpiderWebPlot

    Returns the underlying plot.

    Returns the underlying plot.

    Definition Classes
    SpiderWebChartChart
  31. def publish(e: Event): Unit
    Definition Classes
    Publisher
  32. val reactions: Reactions
    Definition Classes
    Reactor
  33. def show(): Unit

    [use case] Shows the chart in a window.

    [use case]

    Shows the chart in a window.

    Definition Classes
    DisplayableChart
    Full Signature

    def show(title: String = "", resolution: (Int, Int) = Chart.Default.Resolution, scrollable: Boolean = false): Unit

  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def title: String

    Returns the title of this chart.

    Returns the title of this chart.

    Definition Classes
    Chart
  36. def title_=(title: String): Unit

    Sets the title of this chart.

    Sets the title of this chart.

    Definition Classes
    Chart
  37. def toComponent(useBuffer: Boolean = Chart.Default.BufferUsed): Component

    Wraps this chart in a swing component.

    Wraps this chart in a swing component.

    useBuffer

    whether or not to use an off-screen buffer

    Definition Classes
    DisplayableChart
  38. def toComponent: Component

    Wraps this chart in a swing component.

    Wraps this chart in a swing component.

    Definition Classes
    DisplayableChart
  39. def toFrame(): Frame

    [use case] Wraps a frame around this chart.

    [use case]

    Wraps a frame around this chart.

    Definition Classes
    DisplayableChart
    Full Signature

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

  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def [B](y: B): (SpiderWebChart, B)
    Implicit
    This member is added by an implicit conversion from SpiderWebChart to ArrowAssoc[SpiderWebChart] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Chart

Inherited from Publisher

Inherited from Reactor

Inherited from DisplayableChart

Inherited from DocMacros

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped