Object/Trait

scalax.chart.module

MarkerConversions

Related Docs: trait MarkerConversions | package module

Permalink

object MarkerConversions extends MarkerConversions

MarkerConversions contains type class based conversions from certain types to Marker instances.

chart.plot.domain.markers += 1

All numeric types and numeric ranges are supported to create simple value markers:

chart.plot.range.markers += 3
chart.plot.range.markers += 3L
chart.plot.range.markers += 3.0
chart.plot.range.markers += ((1.0,2.0))

There is also an additional conversion type class for the domain of CategoryCharts you can use for CategoryMarkers, which support arbitrary Comparables like String:

chart.plot.domain.markers += "category"

The legacy JFreeChart classes can still be used directly:

chart.plot.range.markers += new ValueMarker(3.0)
chart.plot.range.markers += new IntervalMarker(1.0, 2.0)

chart.plot.domain.markers += new CategoryMarker("category")
Source
MarkerConversions.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MarkerConversions
  2. MarkerConversions
  3. Imports
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type AxisLabelLocation = org.jfree.chart.axis.AxisLabelLocation

    Permalink
    Definition Classes
    Imports
  2. type BoxAndWhiskerCategoryDataset = org.jfree.data.statistics.BoxAndWhiskerCategoryDataset

    Permalink
    Definition Classes
    Imports
  3. type BoxAndWhiskerXYDataset = org.jfree.data.statistics.BoxAndWhiskerXYDataset

    Permalink
    Definition Classes
    Imports
  4. type CategoryDataset = org.jfree.data.category.CategoryDataset

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

    Permalink

    Function alias for creating item labels for category charts.

    Function alias for creating item labels for category charts.

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

    Permalink
    Definition Classes
    Imports
  7. type CategoryPlot = org.jfree.chart.plot.CategoryPlot

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

    Permalink

    Function alias for creating tooltips for category charts.

    Function alias for creating tooltips for category charts.

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

    Permalink
    Definition Classes
    Imports
  10. type Color = java.awt.Color

    Permalink
    Definition Classes
    Imports
  11. type Font = java.awt.Font

    Permalink
    Definition Classes
    Imports
  12. type IntervalMarker = org.jfree.chart.plot.IntervalMarker

    Permalink
    Definition Classes
    Imports
  13. type IntervalXYDataset = org.jfree.data.xy.IntervalXYDataset

    Permalink
    Definition Classes
    Imports
  14. type JFreeChart = org.jfree.chart.JFreeChart

    Permalink
    Definition Classes
    Imports
  15. type Layer = org.jfree.ui.Layer

    Permalink
    Definition Classes
    Imports
  16. type Marker = org.jfree.chart.plot.Marker

    Permalink
    Definition Classes
    Imports
  17. type MultiplePiePlot = org.jfree.chart.plot.MultiplePiePlot

    Permalink
    Definition Classes
    Imports
  18. type Orientation = scala.swing.Orientation.Value

    Permalink
    Definition Classes
    Imports
  19. type Paint = java.awt.Paint

    Permalink
    Definition Classes
    Imports
  20. type PieDataset = org.jfree.data.general.PieDataset

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

    Permalink

    Function alias for creating item labels for pie charts.

    Function alias for creating item labels for pie charts.

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

    Permalink
    Definition Classes
    Imports
  23. type PiePlot3D = org.jfree.chart.plot.PiePlot3D

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

    Permalink

    Function alias for creating tooltips for pie charts.

    Function alias for creating tooltips for pie charts.

    Definition Classes
    Imports
  25. type RectangleInsets = org.jfree.ui.RectangleInsets

    Permalink
    Definition Classes
    Imports
  26. type RingPlot = org.jfree.chart.plot.RingPlot

    Permalink
    Definition Classes
    Imports
  27. type SpiderWebPlot = org.jfree.chart.plot.SpiderWebPlot

    Permalink
    Definition Classes
    Imports
  28. type Stroke = java.awt.Stroke

    Permalink
    Definition Classes
    Imports
  29. type TableXYDataset = org.jfree.data.xy.TableXYDataset

    Permalink
    Definition Classes
    Imports
  30. type TimePeriodValues = org.jfree.data.time.TimePeriodValues

    Permalink
    Definition Classes
    Imports
  31. type TimePeriodValuesCollection = org.jfree.data.time.TimePeriodValuesCollection

    Permalink
    Definition Classes
    Imports
  32. type TimeSeries = org.jfree.data.time.TimeSeries

    Permalink
    Definition Classes
    Imports
  33. type TimeSeriesCollection = org.jfree.data.time.TimeSeriesCollection

    Permalink
    Definition Classes
    Imports
  34. type TimeTableXYDataset = org.jfree.data.time.TimeTableXYDataset

    Permalink
    Definition Classes
    Imports
  35. trait ToCategoryMarker[A] extends AnyRef

    Permalink

    Converts some type A to a category marker.

    Converts some type A to a category marker.

    Definition Classes
    MarkerConversions
  36. trait ToMarker[A] extends AnyRef

    Permalink

    Converts some type A to a marker.

    Converts some type A to a marker.

    Definition Classes
    MarkerConversions
  37. type ValueMarker = org.jfree.chart.plot.ValueMarker

    Permalink
    Definition Classes
    Imports
  38. type XYDataset = org.jfree.data.xy.XYDataset

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

    Permalink

    Function alias for creating item labels for xy charts.

    Function alias for creating item labels for xy charts.

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

    Permalink
    Definition Classes
    Imports
  41. type XYSeries = org.jfree.data.xy.XYSeries

    Permalink
    Definition Classes
    Imports
  42. type XYSeriesCollection = org.jfree.data.xy.XYSeriesCollection

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

    Permalink

    Function alias for creating tooltips for xy charts.

    Function alias for creating tooltips for xy charts.

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

    Permalink
    Definition Classes
    Imports
  45. type YIntervalSeriesCollection = org.jfree.data.xy.YIntervalSeriesCollection

    Permalink
    Definition Classes
    Imports

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object AxisLabelLocation

    Permalink
    Definition Classes
    Imports
  5. object ChartTheme

    Permalink
    Definition Classes
    Imports
  6. object Layer

    Permalink
    Definition Classes
    Imports
  7. val Orientation: scala.swing.Orientation.type

    Permalink
    Definition Classes
    Imports
  8. object ToCategoryMarker

    Permalink

    Contains default ToCategoryMarker instances.

    Contains default ToCategoryMarker instances.

    Definition Classes
    MarkerConversions
  9. object ToMarker

    Permalink

    Contains default ToMarker instances.

    Contains default ToMarker instances.

    Definition Classes
    MarkerConversions
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MarkerConversions

Inherited from Imports

Inherited from AnyRef

Inherited from Any

Ungrouped