pub struct LineChartBuilder { /* private fields */ }Expand description
Builder for LineChart object.
Implementations§
Source§impl LineChartBuilder
impl LineChartBuilder
Sourcepub fn get_series(&self) -> Option<&[DataSeries]>
pub fn get_series(&self) -> Option<&[DataSeries]>
get series field value.
Sourcepub fn set_series<Iter, Inner>(self, value: Option<Iter>) -> Self
pub fn set_series<Iter, Inner>(self, value: Option<Iter>) -> Self
set series field value.
Sourcepub fn push_series(self, value: impl Into<DataSeries>) -> Self
pub fn push_series(self, value: impl Into<DataSeries>) -> Self
push list element to series field.
Sourcepub fn get_axis_config(&self) -> Option<&AxisConfig>
pub fn get_axis_config(&self) -> Option<&AxisConfig>
get axis_config field value.
Sourcepub fn set_axis_config(self, value: Option<impl Into<AxisConfig>>) -> Self
pub fn set_axis_config(self, value: Option<impl Into<AxisConfig>>) -> Self
set axis_config field value.
Sourcepub fn axis_config(self, value: impl Into<AxisConfig>) -> Self
pub fn axis_config(self, value: impl Into<AxisConfig>) -> Self
set axis_config field value.
Trait Implementations§
Source§impl Debug for LineChartBuilder
impl Debug for LineChartBuilder
Auto Trait Implementations§
impl Freeze for LineChartBuilder
impl RefUnwindSafe for LineChartBuilder
impl Send for LineChartBuilder
impl Sync for LineChartBuilder
impl Unpin for LineChartBuilder
impl UnsafeUnpin for LineChartBuilder
impl UnwindSafe for LineChartBuilder
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