Bar

class Bar : Trace, SelectedPoints

Types

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

Functions

axis
Link copied to clipboard
common
fun axis(axisName: String): TraceValues
colorbar
Link copied to clipboard
common
fun colorbar(block: ColorBar.() -> Unit)
domain
Link copied to clipboard
common
fun domain(block: Domain.() -> Unit)
error_x
Link copied to clipboard
common
fun error_x(block: Error.() -> Unit)
error_y
Link copied to clipboard
common
fun error_y(block: Error.() -> Unit)
getItem
Link copied to clipboard
common
open override fun getItem(name: Name): MetaItem?
hoverlabel
Link copied to clipboard
common
fun hoverlabel(block: Hoverlabel.() -> Unit)
labels
Link copied to clipboard
common
fun labels(array: Iterable<Any>)
line
Link copied to clipboard
common
fun line(block: LayoutLine.() -> Unit)
marker
Link copied to clipboard
common
fun marker(block: Marker.() -> 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?)
selected
Link copied to clipboard
common
fun selected(block: SelectPoints.() -> Unit)
setItem
Link copied to clipboard
common
open override fun setItem(name: Name, item: MetaItem?)
textfont
Link copied to clipboard
common
fun textfont(block: Font.() -> Unit)
toMeta
Link copied to clipboard
common
open override fun toMeta(): Laminate
unselected
Link copied to clipboard
common
fun unselected(block: SelectPoints.() -> Unit)
validateItem
Link copied to clipboard
common
open fun validateItem(name: Name, item: MetaItem?): Boolean
values
Link copied to clipboard
common
fun values(array: Iterable<Any>)

Properties

axis
Link copied to clipboard
common
val axis: ReadOnlyProperty<Scheme, TraceValues>
base
Link copied to clipboard
common
var base: List<Number>
Sets where the bar base is drawn (in position axis units).
cliponaxis
Link copied to clipboard
common
var cliponaxis: Boolean?
Determines whether or not markers and text nodes are clipped about the subplot axes.
colorbar
Link copied to clipboard
common
var colorbar: ColorBar
colorscale
Link copied to clipboard
common
var colorscale: Value?
Sets the colorscale.
connectgaps
Link copied to clipboard
common
var connectgaps: Boolean?
Determines whether or not gaps (i.e.
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?
domain
Link copied to clipboard
common
var domain: Domain
dx
Link copied to clipboard
common
var dx: Number
Sets the x coordinate step.
dy
Link copied to clipboard
common
var dy: Number
Sets the y coordinate step.
error_x
Link copied to clipboard
common
var error_x: Error
error_y
Link copied to clipboard
common
var error_y: Error
fillcolor
Link copied to clipboard
common
val fillcolor: Color
Sets the fill color if contours.type is "constraint".
hoverinfo
Link copied to clipboard
common
var hoverinfo: String?
Flaglist string.
hoverlabel
Link copied to clipboard
common
var hoverlabel: Hoverlabel
labels
Link copied to clipboard
common
var labels: List<Value>
Data array.
legendgroup
Link copied to clipboard
common
var legendgroup: String?
Sets the legend group for this trace.
line
Link copied to clipboard
common
var line: LayoutLine
marker
Link copied to clipboard
common
var marker: Marker
name
Link copied to clipboard
common
var name: String?
Sets the trace name.
offset
Link copied to clipboard
common
var offset: Number?
Shifts the position where the bar is drawn (in position axis units).
offsetsList
Link copied to clipboard
common
var offsetsList: List<Number>
Shifts the position where the bar is drawn (in position axis units).
opacity
Link copied to clipboard
common
var opacity: Number
Sets the opacity of the trace.
orientation
Link copied to clipboard
common
var orientation: Orientation
Sets the orientation of the plot(s).
reversescale
Link copied to clipboard
common
var reversescale: Boolean?
Reverses the color mapping if true.
scalegroup
Link copied to clipboard
common
var scalegroup: String?
If there are multiple violins that should be sized according to some metric (see scalemode), link them by providing a non-empty group id here shared by every trace in the same group.
selected
Link copied to clipboard
common
open override var selected: SelectPoints
selectedpoints
Link copied to clipboard
common
open override var selectedpoints: List<Number>
Array containing integer indices of selected points.
showlegend
Link copied to clipboard
common
var showlegend: Boolean?
Determines whether or not an item corresponding to this trace is shown in the legend.
showscale
Link copied to clipboard
common
var showscale: Boolean?
Determines whether or not a colorbar is displayed for this trace.
text
Link copied to clipboard
common
var text: TraceValues
Sets text elements associated with each (x,y) pair.
textfont
Link copied to clipboard
common
var textfont: Font
Sets the text font.
textposition
Link copied to clipboard
common
var textposition: TextPosition
Sets the position of the text elements with respects to the (x,y) coordinates.
textpositionsList
Link copied to clipboard
common
var textpositionsList: List<Value>
Sets the positions of the text elements with respects to the (x,y) coordinates.
transpose
Link copied to clipboard
common
var transpose: Boolean?
Transposes the z data.
type
Link copied to clipboard
common
var type: TraceType
unselected
Link copied to clipboard
common
open override var unselected: SelectPoints
values
Link copied to clipboard
common
var values: List<Value>
Data array.
visible
Link copied to clipboard
common
var visible: Visible
Enumerated , one of ( true | false | "legendonly" ) Determines whether or not this trace is visible.
width
Link copied to clipboard
common
var width: Number
Sets the bar width (in position axis units).
widthList
Link copied to clipboard
common
var widthList: List<Number>
Array of numbers greater than or equal to 0.
x
Link copied to clipboard
common
val x: TraceValues
Sets the x coordinates.
x0
Link copied to clipboard
common
var x0: Value?
Alternate to x.
xcalendar
Link copied to clipboard
common
var xcalendar: Calendar
Sets the calendar system to use with x date data.
y
Link copied to clipboard
common
val y: TraceValues
Sets the y coordinates.
y0
Link copied to clipboard
common
var y0: Value?
Alternate to y.
ycalendar
Link copied to clipboard
common
var ycalendar: Calendar
Sets the calendar system to use with y date data.
z
Link copied to clipboard
common
var z: TraceValues
Z coordinates
zauto
Link copied to clipboard
common
var zauto: Boolean?
Determines whether or not the color domain is computed with respect to the input data (here in z) or the bounds set in zmin and zmax Defaults to false when zmin and zmax are set by the user.
zmax
Link copied to clipboard
common
var zmax: Number?
Sets the upper bound of the color domain.
zmid
Link copied to clipboard
common
var zmid: Number?
Sets the mid-point of the color domain by scaling zmin and/or zmax to be equidistant to this point.
zmin
Link copied to clipboard
common
var zmin: Number?
Sets the lower bound of the color domain.