pub struct Line { /* private fields */ }
Implementations§
Source§impl Line
impl Line
pub fn new() -> Self
pub fn id<S: Into<String>>(self, id: S) -> Self
Sourcepub fn name<S: Into<String>>(self, name: S) -> Self
pub fn name<S: Into<String>>(self, name: S) -> Self
Series name used for displaying in tooltip
and filtering with legend
.
pub fn coordinate_system<C: Into<CoordinateSystem>>( self, coordinate_system: C, ) -> Self
pub fn symbol<S: Into<Symbol>>(self, symbol: S) -> Self
pub fn symbol_size<F: Into<i64>>(self, symbol_size: F) -> Self
pub fn show_symbol(self, show_symbol: bool) -> Self
pub fn stack<S: Into<String>>(self, stack: S) -> Self
pub fn label<L: Into<Label>>(self, label: L) -> Self
pub fn line_style<L: Into<LineStyle>>(self, line_style: L) -> Self
pub fn area_style<A: Into<AreaStyle>>(self, area_style: A) -> Self
pub fn item_style<I: Into<ItemStyle>>(self, item_style: I) -> Self
pub fn emphasis<E: Into<Emphasis>>(self, emphasis: E) -> Self
pub fn mark_point<M: Into<MarkPoint>>(self, mark_point: M) -> Self
pub fn mark_line<M: Into<MarkLine>>(self, mark_line: M) -> Self
pub fn mark_area<M: Into<MarkArea>>(self, mark_area: M) -> Self
pub fn dataset_id<S: Into<String>>(self, dataset_id: S) -> Self
pub fn encode<E: Into<DimensionEncode>>(self, encode: E) -> Self
pub fn x_axis_index<F: Into<i64>>(self, x_axis_index: F) -> Self
pub fn y_axis_index<F: Into<i64>>(self, y_axis_index: F) -> Self
pub fn data<D: Into<DataPoint>>(self, data: Vec<D>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnwindSafe for Line
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more