scalax.chart.module

LabelGenerators

trait LabelGenerators extends CategoryLabelGenerators with PieLabelGenerators with XYLabelGenerators

LabelGenerators contains means to conveniently create label generators for all supported chart types.

val chart = PieChart(data)
chart.labelGenerator = PieLabelGenerator(value => value.toString)

Labels for Category Charts

CategoryLabelGenerators contains factories for creating label generators for category charts.

chart.labelGenerator = CategoryLabelGenerator(value => value.toString)

Labels for Pie-like Charts

PieLabelGenerators contains factories for creating label generators for pie charts.

chart.labelGenerator = PieLabelGenerator(value => value.toString)

Labels for XY Charts

XYLabelGenerators contains factories for creating label generators for xy charts.

chart.labelGenerator = XYLabelGenerator(value => value.toString)
Source
LabelGenerators.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LabelGenerators
  2. XYLabelGenerators
  3. PieLabelGenerators
  4. CategoryLabelGenerators
  5. Imports
  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

Type Members

  1. type BoxAndWhiskerCategoryDataset = org.jfree.data.statistics.BoxAndWhiskerCategoryDataset

    Definition Classes
    Imports
  2. type BoxAndWhiskerXYDataset = org.jfree.data.statistics.BoxAndWhiskerXYDataset

    Definition Classes
    Imports
  3. type CategoryDataset = org.jfree.data.category.CategoryDataset

    Definition Classes
    Imports
  4. type CategoryLabelGenerator = (CategoryDataset, Comparable[_], Comparable[_]) ⇒ String

    Function alias for creating item labels for category charts.

    Function alias for creating item labels for category charts.

    Definition Classes
    Imports
  5. type CategoryMarker = org.jfree.chart.plot.CategoryMarker

    Definition Classes
    Imports
  6. type CategoryPlot = org.jfree.chart.plot.CategoryPlot

    Definition Classes
    Imports
  7. type CategoryToolTipGenerator = (CategoryDataset, Comparable[_], Comparable[_]) ⇒ String

    Function alias for creating tooltips for category charts.

    Function alias for creating tooltips for category charts.

    Definition Classes
    Imports
  8. type ChartTheme = org.jfree.chart.ChartTheme

    Definition Classes
    Imports
  9. type Color = java.awt.Color

    Definition Classes
    Imports
  10. type IntervalMarker = org.jfree.chart.plot.IntervalMarker

    Definition Classes
    Imports
  11. type IntervalXYDataset = org.jfree.data.xy.IntervalXYDataset

    Definition Classes
    Imports
  12. type JFreeChart = org.jfree.chart.JFreeChart

    Definition Classes
    Imports
  13. type Layer = org.jfree.ui.Layer

    Definition Classes
    Imports
  14. type Marker = org.jfree.chart.plot.Marker

    Definition Classes
    Imports
  15. type MultiplePiePlot = org.jfree.chart.plot.MultiplePiePlot

    Definition Classes
    Imports
  16. type Orientation = scala.swing.Orientation.Value

    Definition Classes
    Imports
  17. type Paint = java.awt.Paint

    Definition Classes
    Imports
  18. type PieDataset = org.jfree.data.general.PieDataset

    Definition Classes
    Imports
  19. type PieLabelGenerator = (PieDataset, Comparable[_]) ⇒ String

    Function alias for creating item labels for pie charts.

    Function alias for creating item labels for pie charts.

    Definition Classes
    Imports
  20. type PiePlot = org.jfree.chart.plot.PiePlot

    Definition Classes
    Imports
  21. type PiePlot3D = org.jfree.chart.plot.PiePlot3D

    Definition Classes
    Imports
  22. type PieToolTipGenerator = (PieDataset, Comparable[_]) ⇒ String

    Function alias for creating tooltips for pie charts.

    Function alias for creating tooltips for pie charts.

    Definition Classes
    Imports
  23. type RingPlot = org.jfree.chart.plot.RingPlot

    Definition Classes
    Imports
  24. type TableXYDataset = org.jfree.data.xy.TableXYDataset

    Definition Classes
    Imports
  25. type TimePeriodValues = org.jfree.data.time.TimePeriodValues

    Definition Classes
    Imports
  26. type TimePeriodValuesCollection = org.jfree.data.time.TimePeriodValuesCollection

    Definition Classes
    Imports
  27. type TimeSeries = org.jfree.data.time.TimeSeries

    Definition Classes
    Imports
  28. type TimeSeriesCollection = org.jfree.data.time.TimeSeriesCollection

    Definition Classes
    Imports
  29. type TimeTableXYDataset = org.jfree.data.time.TimeTableXYDataset

    Definition Classes
    Imports
  30. type ValueMarker = org.jfree.chart.plot.ValueMarker

    Definition Classes
    Imports
  31. type XYDataset = org.jfree.data.xy.XYDataset

    Definition Classes
    Imports
  32. type XYLabelGenerator = (XYDataset, Comparable[_], Int) ⇒ String

    Function alias for creating item labels for xy charts.

    Function alias for creating item labels for xy charts.

    Definition Classes
    Imports
  33. type XYPlot = org.jfree.chart.plot.XYPlot

    Definition Classes
    Imports
  34. type XYSeries = org.jfree.data.xy.XYSeries

    Definition Classes
    Imports
  35. type XYSeriesCollection = org.jfree.data.xy.XYSeriesCollection

    Definition Classes
    Imports
  36. type XYToolTipGenerator = (XYDataset, Comparable[_], Int) ⇒ String

    Function alias for creating tooltips for xy charts.

    Function alias for creating tooltips for xy charts.

    Definition Classes
    Imports
  37. type YIntervalSeries = org.jfree.data.xy.YIntervalSeries

    Definition Classes
    Imports
  38. type YIntervalSeriesCollection = org.jfree.data.xy.YIntervalSeriesCollection

    Definition Classes
    Imports

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 LabelGenerators to any2stringadd[LabelGenerators] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LabelGenerators, B)

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

    Definition Classes
    AnyRef → Any
  6. object CategoryLabelGenerator

    Label generator factory for category charts.

  7. object ChartTheme

    Definition Classes
    Imports
  8. object Layer

    Definition Classes
    Imports
  9. val Orientation: scala.swing.Orientation.type

    Definition Classes
    Imports
  10. object PieLabelGenerator

    Label generator factory for pie charts.

  11. object XYLabelGenerator

    Label generator factory for xy charts.

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def ensuring(cond: (LabelGenerators) ⇒ Boolean, msg: ⇒ Any): LabelGenerators

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

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

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

    Implicit information
    This member is added by an implicit conversion from LabelGenerators to Ensuring[LabelGenerators] 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 LabelGenerators to StringFormat[LabelGenerators] 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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def [B](y: B): (LabelGenerators, B)

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

Inherited from XYLabelGenerators

Inherited from PieLabelGenerators

Inherited from CategoryLabelGenerators

Inherited from Imports

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped