Struct charming::component::visual_map::VisualMap
source · pub struct VisualMap { /* private fields */ }
Implementations§
source§impl VisualMap
impl VisualMap
pub fn new() -> Self
pub fn type_<S: Into<VisualMapType>>(self, type_: S) -> Self
pub fn color<C: Into<Color>>(self, color: Vec<C>) -> Self
pub fn show(self, show: bool) -> Self
pub fn dimension<C: Into<CompositeValue>>(self, dimension: C) -> Self
pub fn series_index<F: Into<f64>>(self, series_index: F) -> Self
pub fn min<F: Into<f64>>(self, min: F) -> Self
pub fn max<F: Into<f64>>(self, max: F) -> Self
pub fn categories<S: Into<String>>(self, categories: Vec<S>) -> Self
pub fn calculable(self, calculable: bool) -> Self
pub fn orient(self, orient: Orient) -> Self
pub fn left<C: Into<CompositeValue>>(self, left: C) -> Self
pub fn top<C: Into<CompositeValue>>(self, top: C) -> Self
pub fn right<C: Into<CompositeValue>>(self, right: C) -> Self
pub fn bottom<C: Into<CompositeValue>>(self, bottom: C) -> Self
pub fn text_style<T: Into<TextStyle>>(self, text_style: T) -> Self
pub fn range<F: Into<f64>>(self, range: (F, F)) -> Self
pub fn realtime(self, realtime: bool) -> Self
pub fn inverse(self, inverse: bool) -> Self
pub fn precision<F: Into<f64>>(self, precision: F) -> Self
pub fn item_width<F: Into<f64>>(self, item_width: F) -> Self
pub fn item_height<F: Into<f64>>(self, item_height: F) -> Self
pub fn in_range<V: Into<VisualMapChannel>>(self, in_range: V) -> Self
pub fn out_range<V: Into<VisualMapChannel>>(self, out_range: V) -> Self
pub fn pieces(self, pieces: Vec<VisualMapPiece>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for VisualMap
impl Send for VisualMap
impl Sync for VisualMap
impl Unpin for VisualMap
impl UnwindSafe for VisualMap
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