Scatter

open class Scatter : Trace, SelectedPoints

Types

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

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>
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.
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
fill
Link copied to clipboard
common
var fill: FillType
Sets the area to fill with a solid color.
fillcolor
Link copied to clipboard
common
val fillcolor: Color
Sets the fill color if contours.type is "constraint".
groupnorm
Link copied to clipboard
common
var groupnorm: GroupNorm
Only relevant when stackgroup is used, and only the first groupnorm found in the stackgroup will be used - including if visible is "legendonly" but not if it is false.
hoverinfo
Link copied to clipboard
common
var hoverinfo: String?
Flaglist string.
hoverlabel
Link copied to clipboard
common
var hoverlabel: Hoverlabel
hoveron
Link copied to clipboard
common
var hoveron: ScatterHoveron
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions?
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
mode
Link copied to clipboard
common
var mode: ScatterMode
Flaglist string.
name
Link copied to clipboard
common
var name: String?
Sets the trace name.
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.
stackgaps
Link copied to clipboard
common
var stackgaps: StackGaps
Only relevant when stackgroup is used, and only the first stackgaps found in the stackgroup will be used - including if visible is "legendonly" but not if it is false.
stackgroup
Link copied to clipboard
common
var stackgroup: String?
Set several scatter traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if orientation is "h").
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.
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.

Inheritors

ScatterGL
Link copied to clipboard