Struct SinglePointDataset

Source
pub struct SinglePointDataset { /* private fields */ }

Implementations§

§

impl SinglePointDataset

pub fn new() -> Self

pub fn get_background_color(&mut self) -> &mut Vec<String>

pub fn background_color<T: Into<String>>( self, value: impl IntoIterator<Item = T>, ) -> SinglePointDataset

pub fn get_bar_percentage(&mut self) -> &mut NumberString

pub fn bar_percentage( self, value: impl Into<NumberString>, ) -> SinglePointDataset

pub fn get_bar_thickness(&mut self) -> &mut NumberString

pub fn bar_thickness(self, value: impl Into<NumberString>) -> SinglePointDataset

pub fn get_base(&mut self) -> &mut NumberString

pub fn base(self, value: impl Into<NumberString>) -> SinglePointDataset

pub fn get_border_color(&mut self) -> &mut String

pub fn border_color(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_border_join_style(&mut self) -> &mut String

pub fn border_join_style(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_border_radius(&mut self) -> &mut NumberString

pub fn border_radius(self, value: impl Into<NumberString>) -> SinglePointDataset

pub fn get_border_skipped(&mut self) -> &mut String

pub fn border_skipped(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_border_width(&mut self) -> &mut Option<NumberStringOrT<Border>>

pub fn border_width( self, value: impl Into<NumberStringOrT<Border>>, ) -> SinglePointDataset

pub fn get_category_percentage(&mut self) -> &mut NumberString

pub fn category_percentage( self, value: impl Into<NumberString>, ) -> SinglePointDataset

pub fn get_clip(&mut self) -> &mut NumberString

pub fn clip(self, value: impl Into<NumberString>) -> SinglePointDataset

pub fn get_data(&mut self) -> &mut Vec<NumberString>

pub fn data<T: Into<NumberString>>( self, value: impl IntoIterator<Item = T>, ) -> SinglePointDataset

pub fn get_datalabels(&mut self) -> &mut Option<DataLabels>

pub fn datalabels(self, value: impl Into<DataLabels>) -> SinglePointDataset

pub fn get_grouped(&mut self) -> &mut Option<bool>

pub fn grouped(self, value: impl Into<bool>) -> SinglePointDataset

pub fn get_hover_background_color(&mut self) -> &mut String

pub fn hover_background_color( self, value: impl Into<String>, ) -> SinglePointDataset

pub fn get_hover_border_color(&mut self) -> &mut String

pub fn hover_border_color(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_hover_border_radius(&mut self) -> &mut NumberString

pub fn hover_border_radius( self, value: impl Into<NumberString>, ) -> SinglePointDataset

pub fn get_hover_border_width(&mut self) -> &mut Option<NumberStringOrT<Border>>

pub fn hover_border_width( self, value: impl Into<NumberStringOrT<Border>>, ) -> SinglePointDataset

pub fn get_index_axis(&mut self) -> &mut String

pub fn index_axis(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_inflate_amount(&mut self) -> &mut NumberString

pub fn inflate_amount( self, value: impl Into<NumberString>, ) -> SinglePointDataset

pub fn get_label(&mut self) -> &mut String

pub fn label(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_max_bar_thickness(&mut self) -> &mut NumberString

pub fn max_bar_thickness( self, value: impl Into<NumberString>, ) -> SinglePointDataset

pub fn get_min_bar_length(&mut self) -> &mut NumberString

pub fn min_bar_length( self, value: impl Into<NumberString>, ) -> SinglePointDataset

pub fn get_order(&mut self) -> &mut NumberString

pub fn order(self, value: impl Into<NumberString>) -> SinglePointDataset

pub fn get_point_background_color(&mut self) -> &mut String

pub fn point_background_color( self, value: impl Into<String>, ) -> SinglePointDataset

pub fn get_point_border_color(&mut self) -> &mut String

pub fn point_border_color(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_point_border_width(&mut self) -> &mut Option<NumberStringOrT<Border>>

pub fn point_border_width( self, value: impl Into<NumberStringOrT<Border>>, ) -> SinglePointDataset

pub fn get_point_hover_background_color(&mut self) -> &mut String

pub fn point_hover_background_color( self, value: impl Into<String>, ) -> SinglePointDataset

pub fn get_point_hover_border_width( &mut self, ) -> &mut Option<NumberStringOrT<Border>>

pub fn point_hover_border_width( self, value: impl Into<NumberStringOrT<Border>>, ) -> SinglePointDataset

pub fn get_point_hover_radius(&mut self) -> &mut NumberOrDateString

pub fn point_hover_radius( self, value: impl Into<NumberOrDateString>, ) -> SinglePointDataset

pub fn get_point_radius(&mut self) -> &mut NumberString

pub fn point_radius(self, value: impl Into<NumberString>) -> SinglePointDataset

pub fn get_point_style(&mut self) -> &mut String

pub fn point_style(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_dataset_type(&mut self) -> &mut String

pub fn dataset_type(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_skip_null(&mut self) -> &mut Option<bool>

pub fn skip_null(self, value: impl Into<bool>) -> SinglePointDataset

pub fn get_stack(&mut self) -> &mut String

pub fn stack(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_stepped(&mut self) -> &mut Option<bool>

pub fn stepped(self, value: impl Into<bool>) -> SinglePointDataset

pub fn get_x_axis_id(&mut self) -> &mut String

pub fn x_axis_id(self, value: impl Into<String>) -> SinglePointDataset

pub fn get_y_axis_id(&mut self) -> &mut String

pub fn y_axis_id(self, value: impl Into<String>) -> SinglePointDataset

Trait Implementations§

Source§

impl Clone for SinglePointDataset

Source§

fn clone(&self) -> SinglePointDataset

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SinglePointDataset

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SinglePointDataset

Source§

fn default() -> SinglePointDataset

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for SinglePointDataset

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Ord for SinglePointDataset

Source§

fn cmp(&self, other: &SinglePointDataset) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for SinglePointDataset

Source§

fn eq(&self, other: &SinglePointDataset) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for SinglePointDataset

Source§

fn partial_cmp(&self, other: &SinglePointDataset) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for SinglePointDataset

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for SinglePointDataset

Source§

impl StructuralPartialEq for SinglePointDataset

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,