pub struct Y<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Y<'a>
impl<'a> Y<'a>
Sourcepub fn show(&mut self, show: bool) -> &mut Self
pub fn show(&mut self, show: bool) -> &mut Self
Determines whether or not contour lines about the y dimension are drawn.
default: false
Sourcepub fn start(&mut self, start: f64) -> &mut Self
pub fn start(&mut self, start: f64) -> &mut Self
Sets the starting contour level value. Must be less than contours.end
default: null
Sourcepub fn end(&mut self, end: f64) -> &mut Self
pub fn end(&mut self, end: f64) -> &mut Self
Sets the end contour level value. Must be more than contours.start
default: null
Sourcepub fn size(&mut self, size: f64) -> &mut Self
pub fn size(&mut self, size: f64) -> &mut Self
Sets the step between each contour level. Must be positive.
default: null
pub fn project(&mut self) -> &mut Project
Sourcepub fn color(&mut self, color: &'a str) -> &mut Self
pub fn color(&mut self, color: &'a str) -> &mut Self
Sets the color of the contour lines.
default: #444
Sourcepub fn usecolormap(&mut self, usecolormap: bool) -> &mut Self
pub fn usecolormap(&mut self, usecolormap: bool) -> &mut Self
An alternate to color. Determines whether or not the contour lines are colored using the trace colorscale.
default: false
Sourcepub fn width(&mut self, width: f64) -> &mut Self
pub fn width(&mut self, width: f64) -> &mut Self
Sets the width of the contour lines.
default: 2
Sourcepub fn highlight(&mut self, highlight: bool) -> &mut Self
pub fn highlight(&mut self, highlight: bool) -> &mut Self
Determines whether or not contour lines about the y dimension are highlighted on hover.
default: true
Sourcepub fn highlightcolor(&mut self, highlightcolor: &'a str) -> &mut Self
pub fn highlightcolor(&mut self, highlightcolor: &'a str) -> &mut Self
Sets the color of the highlighted contour lines.
default: #444
Sourcepub fn highlightwidth(&mut self, highlightwidth: f64) -> &mut Self
pub fn highlightwidth(&mut self, highlightwidth: f64) -> &mut Self
Sets the width of the highlighted contour lines.
default: 2