[−][src]Struct vega_lite_3::ViewConfig
Default properties for single view plots.
Fields
clip: Option<bool>
Whether the view should be clipped.
corner_radius: Option<f64>
The radius in pixels of rounded rectangle corners.
Default value: 0
fill: Option<String>
The fill color.
Default value: undefined
fill_opacity: Option<f64>
The fill opacity (value between [0,1]).
Default value: 1
height: Option<f64>
The default height of the single plot or each plot in a trellis plot when the
visualization has a continuous (non-ordinal) y-scale with rangeStep
= null
.
Default value: 200
opacity: Option<f64>
The overall opacity (value between [0,1]).
Default value: 0.7
for non-aggregate plots with point
, tick
, circle
, or
square
marks or layered bar
charts and 1
otherwise.
stroke: RemovableValue<String>
The stroke color.
Default value: "#ddd"
stroke_cap: Option<StrokeCap>
The stroke cap for line ending style. One of "butt"
, "round"
, or "square"
.
Default value: "square"
stroke_dash: Option<Vec<f64>>
An array of alternating stroke, space lengths for creating dashed or dotted lines.
stroke_dash_offset: Option<f64>
The offset (in pixels) into which to begin drawing with the stroke dash array.
stroke_join: Option<StrokeJoin>
The stroke line join method. One of "miter"
, "round"
or "bevel"
.
Default value: "miter"
stroke_miter_limit: Option<f64>
The miter limit at which to bevel a line join.
stroke_opacity: Option<f64>
The stroke opacity (value between [0,1]).
Default value: 1
stroke_width: Option<f64>
The stroke width, in pixels.
width: Option<f64>
The default width of the single plot or each plot in a trellis plot when the
visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep
= null
.
Default value: 200
Trait Implementations
impl Clone for ViewConfig
[src]
fn clone(&self) -> ViewConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ViewConfig
[src]
impl Default for ViewConfig
[src]
fn default() -> ViewConfig
[src]
impl<'de> Deserialize<'de> for ViewConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ViewConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for ViewConfig
impl Send for ViewConfig
impl Sync for ViewConfig
impl Unpin for ViewConfig
impl UnwindSafe for ViewConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,