pub struct ChartData {
pub categories: Vec<String>,
pub positions: Vec<f64>,
pub series: Vec<SeriesData>,
}Expand description
What a chart draws, aggregated from the rows.
Fields§
§categories: Vec<String>What each point is about.
positions: Vec<f64>Numeric positions of the categories, for scatter charts.
series: Vec<SeriesData>The numbers.
Trait Implementations§
impl StructuralPartialEq for ChartData
Auto Trait Implementations§
impl Freeze for ChartData
impl RefUnwindSafe for ChartData
impl Send for ChartData
impl Sync for ChartData
impl Unpin for ChartData
impl UnsafeUnpin for ChartData
impl UnwindSafe for ChartData
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