pub struct LineOptions {
pub area_style: Option<ItemStyleOption>,
pub smooth: Option<LineSmooth>,
pub smooth_monotone: Option<String>,
pub show_symbol: Option<bool>,
pub symbol: Option<SymbolType>,
pub symbol_size: Option<SymbolSize>,
pub symbol_rotate: Option<f64>,
pub show_all_symbol: Option<bool>,
pub clip: Option<bool>,
pub stack: Option<String>,
}Expand description
The options specific to a line series.
Fields§
§area_style: Option<ItemStyleOption>Whether the area under the line is filled.
smooth: Option<LineSmooth>How the points are connected.
smooth_monotone: Option<String>How steep a smoothed curve may get, from 0.0 to 1.0.
show_symbol: Option<bool>Whether the line is drawn.
symbol: Option<SymbolType>The shape of the data point symbols.
symbol_size: Option<SymbolSize>The size of the data point symbols.
symbol_rotate: Option<f64>The rotation of the data point symbols, in degrees.
show_all_symbol: Option<bool>The number of pixels between two symbols; symbols are hidden when the points are closer than this.
clip: Option<bool>Whether the data points are clipped by the grid.
stack: Option<String>The stack the line belongs to.
Trait Implementations§
Source§impl Clone for LineOptions
impl Clone for LineOptions
Source§impl Debug for LineOptions
impl Debug for LineOptions
Source§impl Default for LineOptions
impl Default for LineOptions
Source§impl PartialEq for LineOptions
impl PartialEq for LineOptions
impl StructuralPartialEq for LineOptions
Auto Trait Implementations§
impl Freeze for LineOptions
impl RefUnwindSafe for LineOptions
impl Send for LineOptions
impl Sync for LineOptions
impl Unpin for LineOptions
impl UnsafeUnpin for LineOptions
impl UnwindSafe for LineOptions
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