Trait/Object

scalax.chart.module

MarkerConversions

Related Docs: object MarkerConversions | package module

Permalink

trait MarkerConversions extends Imports

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
Imports, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MarkerConversions
  2. Imports
  3. AnyRef
  4. 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

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.

  36. trait ToMarker[A] extends AnyRef

    Permalink

    Converts some type A to a marker.

  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. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MarkerConversions to any2stringadd[MarkerConversions] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MarkerConversions, B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. object AxisLabelLocation

    Permalink
    Definition Classes
    Imports
  7. object ChartTheme

    Permalink
    Definition Classes
    Imports
  8. object Layer

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

    Permalink
    Definition Classes
    Imports
  10. object ToCategoryMarker

    Permalink

    Contains default ToCategoryMarker instances.

  11. object ToMarker

    Permalink

    Contains default ToMarker instances.

  12. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from Imports

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped