Struct chart_js_rs::types::XYDataset
source · pub struct XYDataset {Show 40 fields
pub backgroundColor: String,
pub barThickness: NumberString,
pub borderColor: String,
pub borderDash: Vec<NumberString>,
pub borderJoinStyle: String,
pub borderWidth: NumberString,
pub data: Vec<XYPoint>,
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 pointStyle: String,
pub type: String,
pub stepped: Option<bool>,
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,
}Fields§
§backgroundColor: String§barThickness: NumberString§borderColor: String§borderDash: Vec<NumberString>§borderJoinStyle: String§borderWidth: NumberString§data: Vec<XYPoint>§hoverBackgroundColor: String§label: String§order: NumberString§pointBackgroundColor: String§pointBorderColor: String§pointBorderWidth: NumberString§pointHoverBackgroundColor: String§pointHoverBorderWidth: NumberString§pointHoverRadius: NumberOrDateString§pointRadius: NumberString§pointStyle: String§type: String§stepped: Option<bool>§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: StringTrait Implementations§
source§impl Ord for XYDataset
impl Ord for XYDataset
source§impl PartialEq<XYDataset> for XYDataset
impl PartialEq<XYDataset> for XYDataset
source§impl PartialOrd<XYDataset> for XYDataset
impl PartialOrd<XYDataset> 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 more