MarkerLine

class MarkerLine : Scheme, Line

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion : SchemeSpec<MarkerLine>

Properties

Link copied to clipboard

Determines whether the colorscale is a default palette (true) or the palette determined by colorscale. Has an effect only if in color is set to a numerical array. In case colorscale is unspecified or autocolorscale is true, the default palette will be chosen according to whether numbers in the color array are all positive, all negative or mixed. Default: true.

Link copied to clipboard

Determines whether or not the color domain is computed with respect to the input data (here in color) or the bounds set in cmin and cmax Has an effect only if in color is set to a numerical array. Defaults to false when cmin and cmax are set by the user.

Link copied to clipboard
var cmax: Number?

Sets the upper bound of the color domain. Has an effect only if in coloris set to a numerical array. Value should have the same units as in color and if set, cmin must be set as well.

Link copied to clipboard
var cmid: Number?

Sets the mid-point of the color domain by scaling cmin and/or cmax to be equidistant to this point. Has an effect only if in color is set to a numerical array. Value should have the same units as in color. Has no effect when cauto is false.

Link copied to clipboard
var cmin: Number?

Sets the lower bound of the color domain. Has an effect only if in coloris set to a numerical array. Value should have the same units as in color and if set, cmax must be set as well.

Link copied to clipboard
open override val color: Color

Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to cmin and cmax if set.

Link copied to clipboard
var colorscale: Value?

Sets the colorscale. Has an effect only if in coloris set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, [[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]. To control the bounds of the colorscale in color space, use cmin and cmax. Alternatively, colorscale may be a palette name string of the following list: Greys, YlGnBu, Greens, YlOrRd, Bluered, RdBu, Reds, Blues, Picnic, Rainbow, Portland, Jet, Hot, Blackbody, Earth, Electric, Viridis, Cividis.

Link copied to clipboard
override var descriptor: MetaDescriptor?
Link copied to clipboard
override val meta: ObservableMutableMeta
Link copied to clipboard

Sets the border line color of the outlier sample points. Defaults to marker.color

Link copied to clipboard

Sets the border line width (in px) of the outlier sample points. Default: 1

Link copied to clipboard

Reverses the color mapping if true. Has an effect only if in color is set to a numerical array. If true, cmin will correspond to the last color in the array and cmax will correspond to the first color.

Link copied to clipboard
open override var width: Number

Number greater than or equal to 0. Sets the width (in px) of the lines bounding the marker points.

Link copied to clipboard
open override var widthList: List<Number>

Array of numbers greater than or equal to 0. Sets the width (in px) of the lines bounding the marker points.

Functions

Link copied to clipboard
fun Scheme.color(key: Name? = null): ReadOnlyProperty<Scheme, Color>
Link copied to clipboard
fun colors(colors: Iterable<Any>)
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 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