final case class Plot(xbounds: Bounds, ybounds: Bounds, renderer: PlotRenderer, componentRenderer: ComponentRenderer = ComponentRenderer.Default(), xtransform: Transformer = Plot.DefaultXTransformer(), ytransform: Transformer = Plot.DefaultYTransformer(), xfixed: Boolean = false, yfixed: Boolean = false, components: Seq[FacetedPlotComponent] = Seq.empty) extends Product with Serializable
A plot.
- xbounds
The x-axis bounds of the plot.
- ybounds
The y-axis bounds of the plot.
- renderer
The PlotRenderer used to render the plot area.
- componentRenderer
The ComponentRenderer used to render components (axes, labels, backgrounds, etc.).
- xtransform
Transformation to convert from plot X-coordinates to pixel coordinates.
- ytransform
Transformation to convert from plot Y-coordinates to pixel coordinates.
- xfixed
Set if the X bounds are fixed by an axis/grid/facet/etc. or the user.
- yfixed
Set if the Y bounds are fixed by an axis/grid/facet/etc. or the user.
- components
Plot components (axes, labels, etc.).
- Alphabetic
- By Inheritance
- Plot
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Plot(xbounds: Bounds, ybounds: Bounds, renderer: PlotRenderer, componentRenderer: ComponentRenderer = ComponentRenderer.Default(), xtransform: Transformer = Plot.DefaultXTransformer(), ytransform: Transformer = Plot.DefaultYTransformer(), xfixed: Boolean = false, yfixed: Boolean = false, components: Seq[FacetedPlotComponent] = Seq.empty)
- xbounds
The x-axis bounds of the plot.
- ybounds
The y-axis bounds of the plot.
- renderer
The PlotRenderer used to render the plot area.
- componentRenderer
The ComponentRenderer used to render components (axes, labels, backgrounds, etc.).
- xtransform
Transformation to convert from plot X-coordinates to pixel coordinates.
- ytransform
Transformation to convert from plot Y-coordinates to pixel coordinates.
- xfixed
Set if the X bounds are fixed by an axis/grid/facet/etc. or the user.
- yfixed
Set if the Y bounds are fixed by an axis/grid/facet/etc. or the user.
- components
Plot components (axes, labels, etc.).
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val backgroundComponents: Seq[FacetedPlotComponent]
- lazy val bottomComponents: Seq[FacetedPlotComponent]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def component(component: FacetedPlotComponent): Plot
- val componentRenderer: ComponentRenderer
- val components: Seq[FacetedPlotComponent]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val leftComponents: Seq[FacetedPlotComponent]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- lazy val overlayComponents: Seq[FacetedPlotComponent]
-
def
render(extent: Extent = Plot.defaultExtent)(implicit theme: Theme): Drawable
Create a Drawable out of this Plot.
Create a Drawable out of this Plot.
- extent
the desired size of the resulting Drawable
- val renderer: PlotRenderer
- lazy val rightComponents: Seq[FacetedPlotComponent]
- def setXTransform(xt: Transformer, fixed: Boolean): Plot
- def setYTransform(yt: Transformer, fixed: Boolean): Plot
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- lazy val topComponents: Seq[FacetedPlotComponent]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
xbounds(lower: Double = xbounds.min, upper: Double = xbounds.max): Plot
Create a copy of this plot with updated x bounds
Create a copy of this plot with updated x bounds
- lower
the new minimum x
- upper
the new maximum x
-
def
xbounds(newBounds: Bounds): Plot
Create a copy of this plot with updated x bounds
Create a copy of this plot with updated x bounds
- newBounds
the new bounds.
- val xbounds: Bounds
- val xfixed: Boolean
- val xtransform: Transformer
-
def
ybounds(lower: Double = ybounds.min, upper: Double = ybounds.max): Plot
Create a copy of this plot with updated y bounds
Create a copy of this plot with updated y bounds
- lower
the new minimum y
- upper
the new maximum y
-
def
ybounds(newBounds: Bounds): Plot
Create a copy of this plot with updated y bounds
Create a copy of this plot with updated y bounds
- newBounds
the new bounds.
- val ybounds: Bounds
- val yfixed: Boolean
- val ytransform: Transformer
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated