Struct vega_lite_4::ErrorBarConfig
source · pub struct ErrorBarConfig {
pub extent: Option<ErrorbandExtent>,
pub rule: Option<DefBox>,
pub size: Option<f64>,
pub thickness: Option<f64>,
pub ticks: Option<DefBox>,
}
Expand description
ErrorBar Config
Fields§
§extent: Option<ErrorbandExtent>
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"
.
rule: Option<DefBox>
§size: Option<f64>
Size of the ticks of an error bar
thickness: Option<f64>
Thickness of the ticks and the bar of an error bar
ticks: Option<DefBox>
Trait Implementations§
source§impl Clone for ErrorBarConfig
impl Clone for ErrorBarConfig
source§fn clone(&self) -> ErrorBarConfig
fn clone(&self) -> ErrorBarConfig
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 moresource§impl Debug for ErrorBarConfig
impl Debug for ErrorBarConfig
source§impl Default for ErrorBarConfig
impl Default for ErrorBarConfig
source§fn default() -> ErrorBarConfig
fn default() -> ErrorBarConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ErrorBarConfig
impl<'de> Deserialize<'de> for ErrorBarConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ErrorBarConfig
impl Send for ErrorBarConfig
impl Sync for ErrorBarConfig
impl Unpin for ErrorBarConfig
impl UnwindSafe for ErrorBarConfig
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