implicit class RichPlot extends AxesImplicits with PlotLineImplicits with AnnotationImplicits with BackgroundImplicits with BorderPlotImplicits with FacetLabelImplicits with LabelImplicits with LegendImplicits with PadImplicits with PlotDefaultsImplicits with OverlayImplicits

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichPlot
  2. OverlayImplicits
  3. PlotDefaultsImplicits
  4. PadImplicits
  5. LegendImplicits
  6. LabelImplicits
  7. FacetLabelImplicits
  8. BorderPlotImplicits
  9. BackgroundImplicits
  10. AnnotationImplicits
  11. PlotLineImplicits
  12. AxesImplicits
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichPlot(plot: Plot)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def annotate(msg: String, x: Double = 1.0, y: Double = 0.5)(implicit theme: Theme): Plot

    Add a text annotation to the plot.

    Add a text annotation to the plot.

    msg

    The annotation.

    x

    The X coordinate (between 0 and 1).

    y

    The Y coordinate (between 0 and 1).

    Definition Classes
    AnnotationImplicits
  5. def annotate(d: Drawable, x: Double, y: Double): Plot

    Add a drawable annotation to the plot

    Add a drawable annotation to the plot

    d

    The annotation.

    x

    The X coordinate (between 0 and 1).

    y

    The Y coordinate (between 0 and 1).

    Definition Classes
    AnnotationImplicits
  6. def annotate(f: (Plot, Extent) ⇒ Drawable, x: Double, y: Double): Plot

    Add an annotation to the plot.

    Add an annotation to the plot.

    f

    A function to create the drawable to render.

    x

    The X coordinate to plot the drawable (between 0 and 1).

    y

    The Y coordinate to plot the drawable (between 0 and 1).

    returns

    The updated plot.

    Definition Classes
    AnnotationImplicits
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def background()(implicit theme: Theme): Plot

    Add a solid background.

    Add a solid background.

    Definition Classes
    BackgroundImplicits
  9. def background(color: Color): Plot

    Add a solid background.

    Add a solid background.

    color

    The background color

    Definition Classes
    BackgroundImplicits
  10. def background(f: (Plot, Extent) ⇒ Drawable): Plot

    Set the background (this will replace any existing background).

    Set the background (this will replace any existing background).

    f

    Function to render the background.

    Definition Classes
    BackgroundImplicits
  11. def bottomLabel(label: String, size: Option[Double] = None, color: Option[Color] = None)(implicit theme: Theme): Plot
    Definition Classes
    LabelImplicits
  12. def bottomLabel(d: Drawable): Plot
    Definition Classes
    LabelImplicits
  13. def bottomLabel(f: (Extent) ⇒ Drawable, height: Double): Plot
    Definition Classes
    LabelImplicits
  14. def bottomLabels(labels: Seq[String])(implicit theme: Theme): Plot

    Add a label below each facet.

    Add a label below each facet.

    labels

    The labels for each facet.

    Definition Classes
    FacetLabelImplicits
  15. def bottomLabels(labels: (Extent) ⇒ Seq[Drawable], height: Double): Plot

    Add a label below each facet.

    Add a label below each facet.

    labels

    A function to return the labels of the given size.

    height

    The height of the labels.

    Definition Classes
    FacetLabelImplicits
  16. def bottomLegend(renderer: LegendRenderer = LegendRenderer.horizontal(), labels: Option[Seq[String]] = None)(implicit theme: Theme): Plot

    Place a legend on the bottom of the plot.

    Place a legend on the bottom of the plot.

    Definition Classes
    LegendImplicits
  17. def bottomPlot(p: Plot, size: Double = defaultSize): Plot

    Render a plot at the bottom border of the plot.

    Render a plot at the bottom border of the plot.

    p

    The plot to render at bottom.

    Definition Classes
    BorderPlotImplicits
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  19. def continuousAxis(boundsFn: (Plot) ⇒ Bounds, position: Position, tickCount: Option[Int] = None, tickRenderer: Option[TickRenderer] = None, labelFormatter: Option[(Double) ⇒ String] = None, tickCountRange: Option[Seq[Int]] = None, updatePlotBounds: Boolean = true)(implicit theme: Theme): Plot

    Add a continuous axis to the plot.

    Add a continuous axis to the plot.

    boundsFn

    Takes a plot and returns the bounds this axis will display.

    position

    The side of the plot to add the axis.

    tickCount

    The number of tick lines.

    tickRenderer

    Function to draw a tick line/label.

    labelFormatter

    Custom function to format tick labels.

    tickCountRange

    Allow searching over axis labels with this many ticks.

    updatePlotBounds

    Set plot bounds to match the axis bounds.

    Definition Classes
    AxesImplicits
  20. val defaultSize: Double
    Definition Classes
    BorderPlotImplicits
  21. val defaultThickness: Double
    Definition Classes
    PlotLineImplicits
  22. def discreteAxis(labels: Seq[String], values: Seq[Double], position: Position, updatePlotBounds: Boolean = true, tickRenderer: Option[TickRenderer] = None, align: Double = 0.5)(implicit theme: Theme): Plot

    Add a discrete axis to the plot.

    Add a discrete axis to the plot.

    labels

    The labels.

    values

    The X value for each label.

    position

    The side of the plot to add the axis.

    updatePlotBounds

    Set plot bounds to match the axis bounds.

    tickRenderer

    Function to draw a tick line/label.

    align

    Where to align ticks as a proportion of their band, e.g. 0 = left, 0.5 = center.

    Definition Classes
    AxesImplicits
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  25. def frame(color: Color, strokeWidth: Double): Plot

    Add a border frame around the plot.

    Add a border frame around the plot.

    Definition Classes
    BackgroundImplicits
  26. def frame()(implicit theme: Theme): Plot

    Add a border frame around the plot.

    Add a border frame around the plot.

    Definition Classes
    BackgroundImplicits
  27. def function(fn: (Double) ⇒ Double, color: Color, thickness: Double = defaultThickness, lineStyle: LineStyle = LineStyle.Solid): Plot

    Plot a function.

    Plot a function. For lines, trend is more efficient.

    Definition Classes
    PlotLineImplicits
  28. def function(fn: (Double) ⇒ Double)(implicit theme: Theme): Plot

    Plot a function.

    Plot a function. For lines, trend is more efficient.

    Definition Classes
    PlotLineImplicits
  29. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  31. def hline(y: Double, color: Color, thickness: Double = defaultThickness, lineStyle: LineStyle = LineStyle.Solid): Plot
    Definition Classes
    PlotLineImplicits
  32. def hline(y: Double)(implicit theme: Theme): Plot
    Definition Classes
    PlotLineImplicits
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def leftLabel(label: String, size: Option[Double] = None, color: Option[Color] = None)(implicit theme: Theme): Plot
    Definition Classes
    LabelImplicits
  35. def leftLabel(d: Drawable): Plot
    Definition Classes
    LabelImplicits
  36. def leftLabel(f: (Extent) ⇒ Drawable, width: Double): Plot
    Definition Classes
    LabelImplicits
  37. def leftLabels(labels: Seq[String])(implicit theme: Theme): Plot

    Add a label to the left of each facet.

    Add a label to the left of each facet.

    Definition Classes
    FacetLabelImplicits
  38. def leftLabels(labels: (Extent) ⇒ Seq[Drawable], width: Double): Plot

    Add a label to the left of each facet.

    Add a label to the left of each facet.

    labels

    A function to return the labels of the given size.

    width

    The width of the labels.

    Definition Classes
    FacetLabelImplicits
  39. def leftLegend(renderer: LegendRenderer = LegendRenderer.vertical(), labels: Option[Seq[String]] = None)(implicit theme: Theme): Plot

    Place a legend on the left side of the plot.

    Place a legend on the left side of the plot.

    Definition Classes
    LegendImplicits
  40. def leftPlot(p: Plot, size: Double = defaultSize): Plot

    Render a plot at the bottom border of the plot.

    Render a plot at the bottom border of the plot.

    p

    The plot to render at bottom.

    Definition Classes
    BorderPlotImplicits
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  44. def overlay(plot2: Plot): Plot
    Definition Classes
    OverlayImplicits
  45. def overlayLegend(x: Double = 1.0, y: Double = 0.0, renderer: LegendRenderer = LegendRenderer.vertical(), labels: Option[Seq[String]] = None)(implicit theme: Theme): Plot

    Overlay a legend on the plot.

    Overlay a legend on the plot.

    x

    The relative X position (0 to 1).

    y

    The relative y position (0 to 1).

    renderer

    The legend renderer to use.

    Definition Classes
    LegendImplicits
  46. def padBottom(size: Double): Plot
    Definition Classes
    PadImplicits
  47. def padLeft(size: Double): Plot
    Definition Classes
    PadImplicits
  48. def padRight(size: Double): Plot
    Definition Classes
    PadImplicits
  49. def padTop(size: Double): Plot
    Definition Classes
    PadImplicits
  50. val plot: Plot
  51. def renderLegend(renderer: LegendRenderer = LegendRenderer.vertical())(implicit theme: Theme): Option[Drawable]

    Get the legend as a drawable.

    Get the legend as a drawable.

    Definition Classes
    LegendImplicits
  52. def rightLabel(label: String, size: Option[Double] = None, color: Option[Color] = None)(implicit theme: Theme): Plot
    Definition Classes
    LabelImplicits
  53. def rightLabel(d: Drawable): Plot
    Definition Classes
    LabelImplicits
  54. def rightLabel(f: (Extent) ⇒ Drawable, width: Double): Plot
    Definition Classes
    LabelImplicits
  55. def rightLabels(labels: Seq[String])(implicit theme: Theme): Plot

    Add a label to the right of each facet.

    Add a label to the right of each facet.

    Definition Classes
    FacetLabelImplicits
  56. def rightLabels(labels: (Extent) ⇒ Seq[Drawable], width: Double): Plot

    Add a label to the right of each facet.

    Add a label to the right of each facet.

    labels

    A function to return the labels of the given size.

    width

    The width of the labels.

    Definition Classes
    FacetLabelImplicits
  57. def rightLegend(renderer: LegendRenderer = LegendRenderer.vertical(), labels: Option[Seq[String]] = None)(implicit theme: Theme): Plot

    Place a legend on the right side of the plot.

    Place a legend on the right side of the plot.

    Definition Classes
    LegendImplicits
  58. def rightPlot(p: Plot, size: Double = defaultSize): Plot

    Render a plot at the right border of the plot.

    Render a plot at the right border of the plot.

    p

    The plot to render at right.

    Definition Classes
    BorderPlotImplicits
  59. def standard(xLabels: Seq[String] = Seq.empty, yLabels: Seq[String] = Seq.empty)(implicit theme: Theme): Plot

    Add axes, grid lines and a frame to the plot.

    Add axes, grid lines and a frame to the plot.

    xLabels

    categorical labels for x axis

    yLabels

    categorical labels for y axis

    Definition Classes
    PlotDefaultsImplicits
  60. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  61. def title(label: String, size: Option[Double] = None, color: Option[Color] = None)(implicit theme: Theme): Plot
    Definition Classes
    LabelImplicits
  62. def title(d: Drawable): Plot
    Definition Classes
    LabelImplicits
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. def topLabel(label: String, size: Option[Double] = None, color: Option[Color] = None)(implicit theme: Theme): Plot
    Definition Classes
    LabelImplicits
  65. def topLabel(d: Drawable): Plot
    Definition Classes
    LabelImplicits
  66. def topLabel(f: (Extent) ⇒ Drawable, height: Double): Plot
    Definition Classes
    LabelImplicits
  67. def topLabels(labels: Seq[String])(implicit theme: Theme): Plot

    Add a label above each facet.

    Add a label above each facet.

    labels

    The labels for each facet.

    Definition Classes
    FacetLabelImplicits
  68. def topLabels(labels: (Extent) ⇒ Seq[Drawable], height: Double): Plot

    Add a label above each facet.

    Add a label above each facet.

    labels

    A function to return the labels of the given size.

    height

    The height of the labels.

    Definition Classes
    FacetLabelImplicits
  69. def topLegend(renderer: LegendRenderer = LegendRenderer.horizontal(), labels: Option[Seq[String]] = None)(implicit theme: Theme): Plot

    Place a legend on the top of the plot.

    Place a legend on the top of the plot.

    Definition Classes
    LegendImplicits
  70. def topPlot(p: Plot, size: Double = defaultSize): Plot

    Render a plot at the top border of the plot.

    Render a plot at the top border of the plot.

    p

    The plot to render at top.

    Definition Classes
    BorderPlotImplicits
  71. def trend(slope: Double, intercept: Double, color: Color, thickness: Double = defaultThickness, lineStyle: LineStyle = LineStyle.Solid): Plot
    Definition Classes
    PlotLineImplicits
  72. def trend(slope: Double, intercept: Double)(implicit theme: Theme): Plot
    Definition Classes
    PlotLineImplicits
  73. def vline(x: Double, color: Color, thickness: Double = defaultThickness, lineStyle: LineStyle = LineStyle.Solid): Plot
    Definition Classes
    PlotLineImplicits
  74. def vline(x: Double)(implicit theme: Theme): Plot
    Definition Classes
    PlotLineImplicits
  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  77. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. def xAxis(labels: Seq[String], values: Seq[Double], position: Position)(implicit theme: Theme): Plot

    Add an X axis to the plot.

    Add an X axis to the plot.

    labels

    The labels.

    values

    The X value for each label.

    position

    The side of the plot to add the axis.

    Definition Classes
    AxesImplicits
  79. def xAxis(labels: Seq[String], values: Seq[Double])(implicit theme: Theme): Plot

    Add an X axis to the plot.

    Add an X axis to the plot.

    labels

    The labels.

    values

    The X value for each label.

    Definition Classes
    AxesImplicits
  80. def xAxis(labels: Seq[String], position: Position)(implicit theme: Theme): Plot

    Add an X axis to the plot

    Add an X axis to the plot

    labels

    The labels. The x values are assumed to start at 0 and increment by one for each label.

    position

    The side of the plot to add the axis.

    Definition Classes
    AxesImplicits
  81. def xAxis(labels: Seq[String])(implicit theme: Theme): Plot

    Add an X axis to the plot

    Add an X axis to the plot

    labels

    The labels. The x values are assumed to start at 0 and increment by one for each label.

    Definition Classes
    AxesImplicits
  82. def xAxis(tickCount: Option[Int] = None, tickRenderer: Option[TickRenderer] = None, labelFormatter: Option[(Double) ⇒ String] = None, tickCountRange: Option[Seq[Int]] = None, position: Position = Position.Bottom)(implicit theme: Theme): Plot

    Add an X axis to the plot.

    Add an X axis to the plot.

    tickCount

    The number of tick lines.

    tickRenderer

    Function to draw a tick line/label.

    labelFormatter

    Custom function to format tick labels.

    tickCountRange

    Allow searching over axis labels with this many ticks.

    position

    The side of the plot to add the axis.

    Definition Classes
    AxesImplicits
  83. def xGrid(lineCount: Option[Int] = None, lineRenderer: Option[GridLineRenderer] = None, tickCountRange: Option[Seq[Int]] = None)(implicit theme: Theme): Plot

    Add x grid lines to the plot.

    Add x grid lines to the plot.

    lineCount

    the number of grid lines to use

    lineRenderer

    the grid line renderer

    Definition Classes
    AxesImplicits
  84. def xLabel(label: String, size: Option[Double] = None, color: Option[Color] = None)(implicit theme: Theme): Plot
    Definition Classes
    LabelImplicits
  85. def xLabel(d: Drawable): Plot
    Definition Classes
    LabelImplicits
  86. def yAxis(labels: Seq[String], values: Seq[Double], position: Position)(implicit theme: Theme): Plot

    Add a Y axis to the plot.

    Add a Y axis to the plot.

    labels

    The labels.

    values

    The Y value for each label.

    position

    The side of the plot to add the axis.

    Definition Classes
    AxesImplicits
  87. def yAxis(labels: Seq[String], values: Seq[Double])(implicit theme: Theme): Plot

    Add a Y axis to the plot.

    Add a Y axis to the plot.

    labels

    The labels.

    values

    The Y value for each label.

    Definition Classes
    AxesImplicits
  88. def yAxis(labels: Seq[String], position: Position)(implicit theme: Theme): Plot

    Add a Y axis to the plot.

    Add a Y axis to the plot.

    labels

    The label. The y values are assumed to start at 0 and increment by one for each label.

    position

    The side of the plot to add the axis.

    Definition Classes
    AxesImplicits
  89. def yAxis(labels: Seq[String])(implicit theme: Theme): Plot

    Add a Y axis to the plot.

    Add a Y axis to the plot.

    labels

    The label. The y values are assumed to start at 0 and increment by one for each label.

    Definition Classes
    AxesImplicits
  90. def yAxis(tickCount: Option[Int] = None, tickRenderer: Option[TickRenderer] = None, labelFormatter: Option[(Double) ⇒ String] = None, tickCountRange: Option[Seq[Int]] = None, position: Position = Position.Left)(implicit theme: Theme): Plot

    Add a Y axis to the plot.

    Add a Y axis to the plot.

    tickCount

    The number of tick lines.

    tickRenderer

    Function to draw a tick line/label.

    labelFormatter

    Custom function to format tick labels.

    tickCountRange

    Allow searching over axis labels with this many ticks.

    position

    The side of the plot to add the axis.

    Definition Classes
    AxesImplicits
  91. def yGrid(lineCount: Option[Int] = None, lineRenderer: Option[GridLineRenderer] = None, tickCountRange: Option[Seq[Int]] = None)(implicit theme: Theme): Plot

    Add y grid lines to the plot.

    Add y grid lines to the plot.

    lineCount

    the number of grid lines to use

    lineRenderer

    the grid line renderer

    Definition Classes
    AxesImplicits
  92. def yLabel(label: String, size: Option[Double] = None, color: Option[Color] = None)(implicit theme: Theme): Plot
    Definition Classes
    LabelImplicits
  93. def yLabel(d: Drawable): Plot
    Definition Classes
    LabelImplicits

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from OverlayImplicits

Inherited from PlotDefaultsImplicits

Inherited from PadImplicits

Inherited from LegendImplicits

Inherited from LabelImplicits

Inherited from FacetLabelImplicits

Inherited from BorderPlotImplicits

Inherited from BackgroundImplicits

Inherited from AnnotationImplicits

Inherited from PlotLineImplicits

Inherited from AxesImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped