ColorBar

class ColorBar : Scheme

Types

Companion
Link copied to clipboard
common
object Companion : SchemeSpec<ColorBar>

Functions

getItem
Link copied to clipboard
common
open override fun getItem(name: Name): MetaItem?
onChange
Link copied to clipboard
common
open override fun onChange(owner: Any?, action: (Name, MetaItem?, MetaItem?) -> Unit)
removeListener
Link copied to clipboard
common
open override fun removeListener(owner: Any?)
setItem
Link copied to clipboard
common
open override fun setItem(name: Name, item: MetaItem?)
tickfont
Link copied to clipboard
common
fun tickfont(block: Font.() -> Unit)
title
Link copied to clipboard
common
fun title(block: Title.() -> Unit)
toMeta
Link copied to clipboard
common
open override fun toMeta(): Laminate
validateItem
Link copied to clipboard
common
open fun validateItem(name: Name, item: MetaItem?): Boolean

Properties

bgcolor
Link copied to clipboard
common
val bgcolor: Color
Sets the color of padded area.
bordercolor
Link copied to clipboard
common
val bordercolor: Color
Sets the axis line color.
borderwidth
Link copied to clipboard
common
var borderwidth: Number
Sets the width (in px) or the border enclosing this color bar.
constraintext
Link copied to clipboard
common
var constraintext: ConstrainText
Constrain the size of text inside or outside a bar to be no larger than the bar itself.
defaultLayer
Link copied to clipboard
common
open val defaultLayer: Meta
descriptor
Link copied to clipboard
common
override var descriptor: NodeDescriptor?
len
Link copied to clipboard
common
var len: Number
Sets the length of the color bar This measure excludes the padding of both ends.
lenmode
Link copied to clipboard
common
var lenmode: MeasureMode
Determines whether this color bar's length (i.e.
outlinecolor
Link copied to clipboard
common
val outlinecolor: Color
Sets the axis line color.
outlinewidth
Link copied to clipboard
common
var outlinewidth: Number
Sets the width (in px) of the axis line.
thickness
Link copied to clipboard
common
var thickness: Number
Sets the thickness of the color bar.
thicknessmode
Link copied to clipboard
common
var thicknessmode: MeasureMode
Determines whether this color bar's thickness (i.e.
tickfont
Link copied to clipboard
common
var tickfont: Font
Sets the color bar's tick label font
title
Link copied to clipboard
common
var title: Title
x
Link copied to clipboard
common
var x: Number
Sets the x position of the color bar (in plot fraction).
xanchor
Link copied to clipboard
common
var xanchor: XAnchor
Sets this color bar's horizontal position anchor.
xpad
Link copied to clipboard
common
var xpad: Number
Sets the amount of padding (in px) along the x direction.
y
Link copied to clipboard
common
var y: Number
Sets the y position of the color bar (in plot fraction).
yanchor
Link copied to clipboard
common
var yanchor: YAnchor
Sets this color bar's vertical position anchor.
ypad
Link copied to clipboard
common
var ypad: Int
Sets the amount of padding (in px) along the y direction.