pub enum SliderMethod {
Restyle,
Relayout,
Update,
Animate,
Skip,
}Expand description
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.
Variants§
Restyle
The restyle method should be used when modifying the data and data attributes of the graph
Relayout
The relayout method should be used when modifying the layout attributes of the graph.
Update
The update method should be used when modifying the data and layout sections of the graph.
Animate
Animates a sequence of frames
Skip
With skip method, 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.
Trait Implementations§
Source§impl Clone for SliderMethod
impl Clone for SliderMethod
Source§fn clone(&self) -> SliderMethod
fn clone(&self) -> SliderMethod
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more