Contours

class Contours : Scheme

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion : SchemeSpec<Contours>

Properties

Link copied to clipboard

Determines the coloring method showing the contour values. If "fill" (default), coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace.

Link copied to clipboard
override var descriptor: MetaDescriptor?
Link copied to clipboard
var end: Number?

Sets the end contour level value. Must be more than contours.start

Link copied to clipboard

Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from layout.font.

Link copied to clipboard
override val meta: ObservableMutableMeta
Link copied to clipboard

Determines whether to label the contour lines with their values.

Link copied to clipboard

Determines whether or not the contour lines are drawn. Has an effect only if contours.coloring is set to "fill".

Link copied to clipboard

Sets the step between each contour level. Must be positive.

Link copied to clipboard

Sets the starting contour level value. Must be less than contours.end

Link copied to clipboard

If levels, the data is represented as a contour plot with multiple levels displayed. If constraint, the data is represented as constraints with the invalid region shaded as specified by the operation and value parameters.

Functions

Link copied to clipboard
fun Scheme.color(key: Name? = null): ReadOnlyProperty<Scheme, Color>
Link copied to clipboard
open operator override fun get(name: Name): MutableMeta?
Link copied to clipboard
open override fun getValue(name: Name): Value?
Link copied to clipboard
fun labelfont(block: Font.() -> Unit)
Link copied to clipboard
fun Scheme.numberGreaterThan(minValue: Number, default: Number = minValue, key: Name? = null): ReadWriteProperty<Any?, Number>

A safe Number ray

Link copied to clipboard
fun Scheme.numberInRange(range: ClosedRange<Double>, key: Name? = null): ReadWriteProperty<Any?, Number>

A safe Number range

Link copied to clipboard
open operator override fun set(name: Name, node: Meta?)
Link copied to clipboard
open override fun setValue(name: Name, value: Value?)
Link copied to clipboard
fun Scheme.toJsonString(): String

Convert any type-safe configurator to json string

Link copied to clipboard
open override fun toMeta(): Laminate
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun validate(name: Name, meta: Meta?): Boolean