[][src]Struct vega_lite_4::BrushConfig

pub struct BrushConfig {
    pub fill: Option<String>,
    pub fill_opacity: Option<f64>,
    pub stroke: Option<String>,
    pub stroke_dash: Option<Vec<f64>>,
    pub stroke_dash_offset: Option<f64>,
    pub stroke_opacity: Option<f64>,
    pub stroke_width: Option<f64>,
}

An interval selection also adds a rectangle mark to depict the extents of the interval. The mark property can be used to customize the appearance of the mark.

See also: mark documentation.

Fields

fill: Option<String>

The fill color of the interval mark.

Default value: "#333333"

fill_opacity: Option<f64>

The fill opacity of the interval mark (a value between 0 and 1).

Default value: 0.125

stroke: Option<String>

The stroke color of the interval mark.

Default value: "#ffffff"

stroke_dash: Option<Vec<f64>>

An array of alternating stroke and space lengths, for creating dashed or dotted lines.

stroke_dash_offset: Option<f64>

The offset (in pixels) with which to begin drawing the stroke dash array.

stroke_opacity: Option<f64>

The stroke opacity of the interval mark (a value between 0 and 1).

stroke_width: Option<f64>

The stroke width of the interval mark.

Trait Implementations

impl Clone for BrushConfig[src]

impl Debug for BrushConfig[src]

impl Default for BrushConfig[src]

impl<'de> Deserialize<'de> for BrushConfig[src]

impl Serialize for BrushConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.