Struct vega_lite_4::ErrorBarConfigBuilder
source · pub struct ErrorBarConfigBuilder { /* private fields */ }
Expand description
Builder for ErrorBarConfig
.
Implementations§
source§impl ErrorBarConfigBuilder
impl ErrorBarConfigBuilder
sourcepub fn extent<VALUE: Into<ErrorbandExtent>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn extent<VALUE: Into<ErrorbandExtent>>( &mut self, value: VALUE ) -> &mut Self
The extent of the rule. Available options include: - "ci"
: Extend the rule to the
confidence interval of the mean. - "stderr"
: The size of rule are set to the value of
standard error, extending from the mean. - "stdev"
: The size of rule are set to the
value of standard deviation, extending from the mean. - "iqr"
: Extend the rule to the
q1 and q3.
Default value: "stderr"
.
pub fn rule<VALUE: Into<DefBox>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn size<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn size<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
Size of the ticks of an error bar
sourcepub fn thickness<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn thickness<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
Thickness of the ticks and the bar of an error bar
pub fn ticks<VALUE: Into<DefBox>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(&self) -> Result<ErrorBarConfig, ErrorBarConfigBuilderError>
pub fn build(&self) -> Result<ErrorBarConfig, ErrorBarConfigBuilderError>
Trait Implementations§
source§impl Clone for ErrorBarConfigBuilder
impl Clone for ErrorBarConfigBuilder
source§fn clone(&self) -> ErrorBarConfigBuilder
fn clone(&self) -> ErrorBarConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ErrorBarConfigBuilder
impl Send for ErrorBarConfigBuilder
impl Sync for ErrorBarConfigBuilder
impl Unpin for ErrorBarConfigBuilder
impl UnwindSafe for ErrorBarConfigBuilder
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