Module layout

Source

Modules§

themes
update_menu
Buttons and Dropdowns.

Structs§

ActiveShape
Annotation
AspectRatio
Sets this scene’s axis aspectratio. x, y, z must be positive. Default: {x: 1, y: 1, z: 1}
Axis
AxisRange
Camera
Container for CameraCenter, Eye, Up, and Projection objects. The camera of a 3D scene.
CameraCenter
Sets the (x, y, z) components of the ‘center’ camera vector. This vector determines the translation (x, y, z) space about the center of this scene. Default: {x: 0, y: 0, z: 0} which means that the center of the scene is at the origin.
Center
Defines the latitude and longitude at which a map will be centered.
ColorAxis
Eye
Sets the (x, y, z) components of the ‘eye’ camera vector. This vector determines the view point about the origin of this scene. Default: {x: 1.25, y: 1.25, z: 1.25}
GridDomain
Layout
Generates Layout and LayoutTemplate LayoutTemplate matches Layout except it lacks a field for template See layout/layout.rs for the full field list and doc comments. Layout is identical to LayoutTemplate except it has a template field and #[field_setter(kind = “layout”)] See layout/layout.rs for the full field list and doc comments.
LayoutColorScale
LayoutGeo
LayoutGrid
LayoutScene
3D scene layout
LayoutTemplate
Generates Layout and LayoutTemplate LayoutTemplate matches Layout except it lacks a field for template See layout/layout.rs for the full field list and doc comments. Layout is identical to LayoutTemplate except it has a template field and #[field_setter(kind = “layout”)] See layout/layout.rs for the full field list and doc comments.
Legend
Mapbox
Margin
ModeBar
NewShape
Projection
Container for Projection options.
RangeBreak
Struct representing a rangebreak for Plotly axes. See: https://plotly.com/python/reference/layout/xaxis/#layout-xaxis-rangebreaks
RangeSelector
RangeSlider
RangeSliderYAxis
Rotation
Sets the rotation of the map projection.
SelectorButton
Shape
ShapeLine
Slider
SliderCurrentValue
Configuration for the current value display of a slider.
SliderStep
SliderStepBuilder
Builder struct to create slider steps which can do restyles and/or relayouts
SliderTransition
Configuration for slider transitions.
Template
UniformText
Up
Sets the (x, y, z) components of the ‘up’ camera vector. This vector determines the up direction of this scene with respect to the page. The Default: {x: 0, y: 0, z: 1} which means that the z axis points up.

Enums§

ArrayShow
ArrowSide
AspectMode
If “cube”, this scene’s axes are drawn as a cube, regardless of the axes’ ranges. If “data”, this scene’s axes are drawn in proportion with the axes’ ranges. If “manual”, this scene’s axes are drawn in proportion with the input of “aspectratio” (the default behavior if “aspectratio” is provided). If “auto”, this scene’s axes are drawn using the results of “data” except when one axis is more than four times the size of the two others, where in that case the results of “cube” are used. Default: “auto”
AxisConstrain
AxisType
BarMode
BarNorm
BoxMode
CategoryOrder
ClickMode
ClickToShow
ConstrainDirection
ControlBuilderError
Error type for ControlBuilder operations
DragMode
DragMode3D
Determines the mode of drag interactions.
DrawDirection
FillRule
GridPattern
GridXSide
GridYSide
GroupClick
HAlign
HoverMode
ItemClick
ItemSizing
MapboxStyle
ProjectionType
Sets the projection type. The projection type could be either “perspective” or “orthographic”. Default: “perspective”
RangeMode
RelayoutLayout
RowOrder
SelectDirection
SelectorStep
ShapeLayer
ShapeSizeMode
ShapeType
SliderCurrentValueXAnchor
SliderMethod
Sets the Plotly method to be called on for each slider step. If the skip method is used, the API updatemenu will function as normal but will perform no API calls and will not bind automatically to state updates. This may be used to create a component interface and attach to updatemenu events manually via JavaScript.
SliderRangeMode
SliderTransitionEasing
SpikeMode
SpikeSnap
StepMode
TicksDirection
TicksPosition
TraceOrder
UniformTextMode
VAlign
ViolinMode
WaterfallMode