object PointRenderer
- Alphabetic
- By Inheritance
- PointRenderer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 colorByCategory[T <: Datum2d[T], CATEGORY](data: Seq[T], categoryExtract: (T) => CATEGORY, coloring: Option[Coloring[CATEGORY]] = None, size: Option[Double] = None)(implicit arg0: Ordering[CATEGORY], theme: Theme): PointRenderer[T]
Render points with colors based on a third, categorical variable.
Render points with colors based on a third, categorical variable.
- T
the type of the data
- CATEGORY
the type of the categorical variable.
- data
the cateogory data
- categoryExtract
a function to extract categories for coloring
- coloring
The coloring to use. If not provided, one based on the color stream from the theme is used.
- size
The size of the points.
- def custom[T <: Datum2d[T]](renderFn: (T) => Drawable, legendCtx: Option[LegendContext] = None): PointRenderer[T]
- def default[T <: Datum2d[T]](color: Option[Color] = None, pointSize: Option[Double] = None, label: Drawable = EmptyDrawable())(implicit theme: Theme): PointRenderer[T]
The default point renderer to render a disc.
The default point renderer to render a disc.
- color
The color of the point.
- pointSize
The size of the point.
- label
Label to be shown in a legend.
- val defaultColorCount: Int
- def depthColor[T <: Datum2d[T]](depth: (T) => Double, min: Double, max: Double, coloring: Option[Coloring[Double]] = None, size: Option[Double] = None)(implicit theme: Theme): PointRenderer[T]
Render points with colors based on a third, continuous variable.
Render points with colors based on a third, continuous variable.
- T
the type of the point
- min
the min for the gradient
- max
the max for the gradient
- coloring
The coloring to use.
- size
The size of the point.
- def empty[T <: Datum2d[T]](): PointRenderer[T]
A no-op renderer for when you don't want to render points (such as on a line)
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated