pub struct Edits { /* private fields */ }
Implementations§
Source§impl Edits
impl Edits
Sourcepub fn annotation_position(&mut self, annotation_position: bool) -> &mut Self
pub fn annotation_position(&mut self, annotation_position: bool) -> &mut Self
Determines if the main anchor of the annotation is editable. The main anchor corresponds to the text (if no arrow) or the arrow (which drags the whole thing leaving the arrow length & direction unchanged).
default: false
Sourcepub fn annotation_tail(&mut self, annotation_tail: bool) -> &mut Self
pub fn annotation_tail(&mut self, annotation_tail: bool) -> &mut Self
Has only an effect for annotations with arrows. Enables changing the length and direction of the arrow.
default: false
Sourcepub fn annotation_text(&mut self, annotation_text: bool) -> &mut Self
pub fn annotation_text(&mut self, annotation_text: bool) -> &mut Self
Enables editing annotation text.
default: false
Sourcepub fn axis_title_text(&mut self, axis_title_text: bool) -> &mut Self
pub fn axis_title_text(&mut self, axis_title_text: bool) -> &mut Self
Enables editing axis title text.
default: false
Sourcepub fn colorbar_position(&mut self, colorbar_position: bool) -> &mut Self
pub fn colorbar_position(&mut self, colorbar_position: bool) -> &mut Self
Enables moving colorbars.
default: false
Sourcepub fn colorbar_title_text(&mut self, colorbar_title_text: bool) -> &mut Self
pub fn colorbar_title_text(&mut self, colorbar_title_text: bool) -> &mut Self
Enables editing colorbar title text.
default: false
Sourcepub fn legend_position(&mut self, legend_position: bool) -> &mut Self
pub fn legend_position(&mut self, legend_position: bool) -> &mut Self
Enables moving the legend.
default: false
Sourcepub fn legend_text(&mut self, legend_text: bool) -> &mut Self
pub fn legend_text(&mut self, legend_text: bool) -> &mut Self
Enables editing the trace name fields from the legend
default: false
Sourcepub fn shape_position(&mut self, shape_position: bool) -> &mut Self
pub fn shape_position(&mut self, shape_position: bool) -> &mut Self
Enables moving shapes.
default: false
Sourcepub fn title_text(&mut self, title_text: bool) -> &mut Self
pub fn title_text(&mut self, title_text: bool) -> &mut Self
Enables editing the global layout title.
default: false
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Edits
impl RefUnwindSafe for Edits
impl Send for Edits
impl Sync for Edits
impl Unpin for Edits
impl UnwindSafe for Edits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more