Struct chart_js_rs::types::XYDataset
source · pub struct XYDataset {Show 46 fields
pub backgroundColor: String,
pub barThickness: NumberString,
pub borderColor: String,
pub borderDash: Vec<NumberString>,
pub borderJoinStyle: String,
pub borderWidth: NumberString,
pub data: DatasetData,
pub datalabels: Option<DataLabels>,
pub description: String,
pub category_label: String,
pub hoverBackgroundColor: String,
pub label: String,
pub order: NumberString,
pub pointBackgroundColor: String,
pub pointBorderColor: String,
pub pointBorderWidth: NumberString,
pub pointHoverBackgroundColor: String,
pub pointHoverBorderWidth: NumberString,
pub pointHoverRadius: NumberOrDateString,
pub pointRadius: NumberString,
pub pointHitRadius: NumberString,
pub hitRadius: NumberString,
pub pointStyle: String,
pub type: String,
pub stepped: Option<BoolString>,
pub tension: NumberString,
pub xAxisID: String,
pub yAxisID: String,
pub fill: String,
pub base: NumberString,
pub barPercentage: NumberString,
pub borderSkipped: String,
pub borderRadius: NumberString,
pub categoryPercentage: NumberString,
pub clip: NumberString,
pub grouped: Option<bool>,
pub hoverBorderColor: String,
pub hoverBorderWidth: NumberString,
pub hoverBorderRadius: NumberString,
pub indexAxis: String,
pub inflateAmount: NumberString,
pub maxBarThickness: NumberString,
pub minBarLength: NumberString,
pub skipNull: Option<bool>,
pub stack: String,
pub z: NumberString,
}
Fields§
§backgroundColor: String
§barThickness: NumberString
§borderColor: String
§borderDash: Vec<NumberString>
§borderJoinStyle: String
§borderWidth: NumberString
§data: DatasetData
§datalabels: Option<DataLabels>
§description: String
§category_label: String
§hoverBackgroundColor: String
§label: String
§order: NumberString
§pointBackgroundColor: String
§pointBorderColor: String
§pointBorderWidth: NumberString
§pointHoverBackgroundColor: String
§pointHoverBorderWidth: NumberString
§pointHoverRadius: NumberOrDateString
§pointRadius: NumberString
§pointHitRadius: NumberString
§hitRadius: NumberString
§pointStyle: String
§type: String
§stepped: Option<BoolString>
§tension: NumberString
§xAxisID: String
§yAxisID: String
§fill: String
§base: NumberString
§barPercentage: NumberString
§borderSkipped: String
§borderRadius: NumberString
§categoryPercentage: NumberString
§clip: NumberString
§grouped: Option<bool>
§hoverBorderColor: String
§hoverBorderWidth: NumberString
§hoverBorderRadius: NumberString
§indexAxis: String
§inflateAmount: NumberString
§maxBarThickness: NumberString
§minBarLength: NumberString
§skipNull: Option<bool>
§stack: String
§z: NumberString
Trait Implementations§
source§impl<'de> Deserialize<'de> for XYDataset
impl<'de> Deserialize<'de> for XYDataset
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 XYDataset
impl Ord for XYDataset
source§impl PartialEq for XYDataset
impl PartialEq for XYDataset
source§impl PartialOrd for XYDataset
impl PartialOrd for XYDataset
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for XYDataset
impl StructuralPartialEq for XYDataset
Auto Trait Implementations§
impl RefUnwindSafe for XYDataset
impl Send for XYDataset
impl Sync for XYDataset
impl Unpin for XYDataset
impl UnwindSafe for XYDataset
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