[−][src]Struct vega_lite_3::ViewConfigBuilder
Builder for ViewConfig
.
Methods
impl ViewConfigBuilder
[src]
pub fn clip<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
[src]
Whether the view should be clipped.
pub fn corner_radius<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
[src]
The radius in pixels of rounded rectangle corners.
Default value: 0
pub fn fill<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
The fill color.
Default value: undefined
pub fn fill_opacity<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
[src]
The fill opacity (value between [0,1]).
Default value: 1
pub fn height<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
[src]
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
pub fn opacity<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
[src]
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.
pub fn stroke<VALUE: Into<RemovableValue<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The stroke color.
Default value: "#ddd"
pub fn stroke_cap<VALUE: Into<StrokeCap>>(&mut self, value: VALUE) -> &mut Self
[src]
The stroke cap for line ending style. One of "butt"
, "round"
, or "square"
.
Default value: "square"
pub fn stroke_dash<VALUE: Into<Vec<f64>>>(&mut self, value: VALUE) -> &mut Self
[src]
An array of alternating stroke, space lengths for creating dashed or dotted lines.
pub fn stroke_dash_offset<VALUE: Into<f64>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The offset (in pixels) into which to begin drawing with the stroke dash array.
pub fn stroke_join<VALUE: Into<StrokeJoin>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The stroke line join method. One of "miter"
, "round"
or "bevel"
.
Default value: "miter"
pub fn stroke_miter_limit<VALUE: Into<f64>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The miter limit at which to bevel a line join.
pub fn stroke_opacity<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
[src]
The stroke opacity (value between [0,1]).
Default value: 1
pub fn stroke_width<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
[src]
The stroke width, in pixels.
pub fn width<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
[src]
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
pub fn build(&self) -> Result<ViewConfig, String>
[src]
Trait Implementations
impl Clone for ViewConfigBuilder
[src]
fn clone(&self) -> ViewConfigBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ViewConfigBuilder
[src]
fn default() -> ViewConfigBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ViewConfigBuilder
impl Send for ViewConfigBuilder
impl Sync for ViewConfigBuilder
impl Unpin for ViewConfigBuilder
impl UnwindSafe for ViewConfigBuilder
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> 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>,