case class LegendContext(elements: Seq[Drawable] = Seq.empty, labels: Seq[Drawable] = Seq.empty, defaultStyle: LegendStyle = LegendStyle.Categorical, gradientLegends: Seq[Drawable] = Seq.empty) extends Product with Serializable
Context information used to render a legend for a plot.
- elements
The elements for each level.
- labels
Labels for each element.
- defaultStyle
The default legend style to render.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LegendContext
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
LegendContext(elements: Seq[Drawable] = Seq.empty, labels: Seq[Drawable] = Seq.empty, defaultStyle: LegendStyle = LegendStyle.Categorical, gradientLegends: Seq[Drawable] = Seq.empty)
- elements
The elements for each level.
- labels
Labels for each element.
- defaultStyle
The default legend style to render.
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( ... ) @native() @IntrinsicCandidate()
- def combine(other: LegendContext): LegendContext
- val defaultStyle: LegendStyle
- val elements: Seq[Drawable]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val gradientLegends: Seq[Drawable]
- def isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val labels: Seq[Drawable]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
-
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
-
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( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated