trait AxesImplicits extends AnyRef
- Alphabetic
- By Inheritance
- AxesImplicits
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Concrete 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- 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.
- 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.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated