object BarChart
- Alphabetic
- By Inheritance
- BarChart
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class BarChartRenderer(data: Seq[Bar], barRenderer: BarRenderer, spacing: Double, clusterSpacing: Option[Double]) extends PlotRenderer with Product with Serializable
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
- def apply(values: Seq[Double], color: Option[Color] = None, spacing: Option[Double] = None, boundBuffer: Option[Double] = None)(implicit theme: Theme): Plot
Create a bar chart where the bars differ only by height
Create a bar chart where the bars differ only by height
- values
The height values for the bars.
- color
Bar color.
- spacing
Bar spacing.
- boundBuffer
Extra padding above the plot area.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def clustered(values: Seq[Seq[Double]], labels: Seq[String] = Seq.empty, colors: Seq[Color] = Seq.empty, spacing: Option[Double] = None, clusterSpacing: Option[Double] = None, boundBuffer: Option[Double] = None)(implicit theme: Theme): Plot
Create a bar chart where bars are divided into clusters.
- def clusteredStacked(values: Seq[Seq[Seq[Double]]], colors: Seq[Color] = Seq.empty, labels: Seq[String] = Seq.empty, spacing: Option[Double] = None, clusterSpacing: Option[Double] = None, boundBuffer: Option[Double] = None)(implicit theme: Theme): Plot
Create a clustered bar chart of stacked bars.
Create a clustered bar chart of stacked bars.
- values
A sequence of clusters of bars where each bar is a sequence of values.
- colors
The color to use for each slice of a stacked bar.
- labels
Labels for each color in the stacked bar.
- spacing
Spacing between bars.
- clusterSpacing
Spacing between clusters.
- boundBuffer
Padding above the bar chart.
- def custom(bars: Seq[Bar], barRenderer: Option[BarRenderer] = None, spacing: Option[Double] = None, clusterSpacing: Option[Double] = None, boundBuffer: Option[Double] = None)(implicit theme: Theme): Plot
Create a custom bar chart.
Create a custom bar chart.
- bars
The bars to render.
- barRenderer
The renderer to use.
- spacing
Spacing between bars within a cluster.
- clusterSpacing
Spacing between clusters.
- boundBuffer
Extra padding above the plot area.
- val defaultBoundBuffer: Double
- 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() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def stacked(values: Seq[Seq[Double]], colors: Seq[Color] = Seq.empty, labels: Seq[String] = Seq.empty, spacing: Option[Double] = None, boundBuffer: Option[Double] = None)(implicit theme: Theme): Plot
Create a stacked bar chart.
Create a stacked bar chart.
- values
A sequence of bars where each bar is a sequence of values.
- colors
The color to use for each slice.
- labels
Labels for each slice.
- spacing
The bar spacing.
- boundBuffer
Extra padding at the top of the plot.
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.