Layout

class Layout : Scheme

Types

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

Functions

annotation
Link copied to clipboard
common
fun annotation(anBuilder: Text.() -> Unit)
fun annotation(an: Text)
figure
Link copied to clipboard
common
fun figure(shBuilder: Shape.() -> Unit)
fun figure(sh: Shape)
getItem
Link copied to clipboard
common
open override fun getItem(name: Name): MetaItem?
legend
Link copied to clipboard
common
fun legend(block: Legend.() -> Unit)
margin
Link copied to clipboard
common
fun margin(block: Margin.() -> Unit)
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?)
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
xaxis
Link copied to clipboard
common
fun xaxis(block: Axis.() -> Unit)
yaxis
Link copied to clipboard
common
fun yaxis(block: Axis.() -> Unit)

Properties

annotations
Link copied to clipboard
common
var annotations: List<Text>
An annotation is a text element that can be placed anywhere in the plot.
autosize
Link copied to clipboard
common
var autosize: Boolean?
Determines whether or not a layout width or height that has been left undefined by the user is initialized on each relayout.
bargap
Link copied to clipboard
common
var bargap: Number
Sets the gap (in plot fraction) between bars of adjacent location coordinates.
bargroupgap
Link copied to clipboard
common
var bargroupgap: Number
Sets the gap (in plot fraction) between bars of the same location coordinate.
barmode
Link copied to clipboard
common
var barmode: BarMode
Enumerated, one of ( "stack" | "group" | "overlay" | "relative" ) Determines how bars at the same location coordinate are displayed on the graph.
barnorm
Link copied to clipboard
common
var barnorm: BarNorm
Sets the normalization for bar traces on the graph.
boxgap
Link copied to clipboard
common
var boxgap: Number
Sets the gap (in plot fraction) between boxes of adjacent location coordinates.
boxgroupgap
Link copied to clipboard
common
var boxgroupgap: Number
Sets the gap (in plot fraction) between boxes of the same location coordinate.
boxmode
Link copied to clipboard
common
var boxmode: BoxMode
Determines how boxes at the same location coordinate are displayed on the graph.
calendar
Link copied to clipboard
common
var calendar: Calendar
Sets the default calendar system to use for interpreting and displaying dates throughout the plot.
defaultLayer
Link copied to clipboard
common
open val defaultLayer: Meta
descriptor
Link copied to clipboard
common
override var descriptor: NodeDescriptor?
dragmode
Link copied to clipboard
common
var dragmode: DragMode
Determines the mode of drag interactions.
height
Link copied to clipboard
common
var height: Number
Sets the plot's height (in px).
hoverdistance
Link copied to clipboard
common
var hoverdistance: Number
Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data).
hovermode
Link copied to clipboard
common
var hovermode: HoverMode
Determines the mode of hover interactions.
legend
Link copied to clipboard
common
var legend: Legend
margin
Link copied to clipboard
common
var margin: Margin
paper_bgcolor
Link copied to clipboard
common
val paper_bgcolor: Color
Sets the background color of the paper where the graph is drawn.
plot_bgcolor
Link copied to clipboard
common
val plot_bgcolor: Color
Sets the background color of the plotting area in-between x and y axes.
separators
Link copied to clipboard
common
var separators: String?
Sets the decimal and thousand separators.
shapes
Link copied to clipboard
common
var shapes: List<Shape>
showlegend
Link copied to clipboard
common
var showlegend: Boolean?
Determines whether or not a legend is drawn.
title
Link copied to clipboard
common
var title: String?
Sets the plot's title.
violingap
Link copied to clipboard
common
var violingap: Number
Sets the gap (in plot fraction) between violins of adjacent location coordinates.
violingroupgap
Link copied to clipboard
common
var violingroupgap: Number
Sets the gap (in plot fraction) between violins of the same location coordinate.
violinmode
Link copied to clipboard
common
var violinmode: ViolinMode
Determines how violins at the same location coordinate are displayed on the graph.
width
Link copied to clipboard
common
var width: Number
Sets the plot's width (in px).
xaxis
Link copied to clipboard
common
var xaxis: Axis
yaxis
Link copied to clipboard
common
var yaxis: Axis