Marker

class Marker : Scheme

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion : SchemeSpec<Marker>

Properties

Link copied to clipboard

Sets the marker color. 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 marker.cmin and marker.cmax if set.

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

Sets a maximum number of points to be drawn on the graph. "0" corresponds to no limit. Default: 0.

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

Sets the markers opacity.

Link copied to clipboard

Sets the marker opacity.

Link copied to clipboard

Sets the color of the outlier sample points. Default: rgba(0, 0, 0, 0).

Link copied to clipboard
var pieColors: List<Value>

Sets the color of each sector. If not specified, the default trace color set is used to pick the sector colors.

Link copied to clipboard

Sets the marker size (in px). Default: 6.

Link copied to clipboard

Has an effect only if marker.size is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. Default: 0.

Link copied to clipboard

Enumerated , one of ( "diameter" | "area" ) Has an effect only if marker.size is set to a numerical array. Sets the rule for which the data in size is converted to pixels. Default: "diameter".

Link copied to clipboard

Has an effect only if size is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with sizemin and sizemode. Default: 1.

Link copied to clipboard

Array of numbers greater than or equal to 0. Sets the markers size. Default: 6.

Link copied to clipboard

Sets the marker symbol type. Default: circle.

Link copied to clipboard
var symbolsList: List<Value>

Array of enumerateds. Sets the marker symbol type.

Functions

Link copied to clipboard
fun Scheme.color(key: Name? = null): ReadOnlyProperty<Scheme, Color>
Link copied to clipboard
fun colorbar(block: ColorBar.() -> Unit)
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 gradient(block: Gradient.() -> Unit)
Link copied to clipboard
fun line(block: MarkerLine.() -> 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