[][src]Struct vega_lite_4::DomainUnionWith

pub struct DomainUnionWith {
    pub field: Option<String>,
    pub selection: Option<String>,
    pub encoding: Option<SingleDefUnitChannel>,
    pub union_with: Option<Vec<SelectionInitInterval>>,
    pub expr: Option<String>,
}

Fields

field: Option<String>

The field name to extract selected values for, when a selection is projected over multiple fields or encodings.

selection: Option<String>

The name of a selection.

encoding: Option<SingleDefUnitChannel>

The encoding channel to extract selected values for, when a selection is projected over multiple fields or encodings.

union_with: Option<Vec<SelectionInitInterval>>

Customized domain values to be union with the field's values.

  1. domain for quantitative fields can take one of the following forms:
  • a two-element array with minimum and maximum values. - an array with more than two entries, for Piecewise quantitative scales. (Alternatively, the domainMid property can be set for a diverging scale.) - a string value "unaggregated", if the input field is aggregated, to indicate that the domain should include the raw data values prior to the aggregation.
  1. domain for temporal fields can be a two-element array minimum and maximum values, in the form of either timestamps or the DateTime definition objects.

  2. domain for ordinal and nominal fields can be an array that lists valid input values.

expr: Option<String>

Vega expression (which can refer to Vega-Lite parameters).

Trait Implementations

impl Clone for DomainUnionWith[src]

impl Debug for DomainUnionWith[src]

impl Default for DomainUnionWith[src]

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

impl From<DomainUnionWith> for DomainUnion[src]

impl Serialize for DomainUnionWith[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: for<'de> 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.