pub struct ChartSeries {
pub name: String,
pub categories: String,
pub values: String,
pub x_values: Option<String>,
pub bubble_sizes: Option<String>,
}Expand description
A single data series within a chart.
Fields§
§name: StringSeries name (a literal string or cell reference like "Sheet1!$A$1").
categories: StringCategory axis data range (e.g., "Sheet1!$A$2:$A$6").
values: StringValue axis data range (e.g., "Sheet1!$B$2:$B$6").
x_values: Option<String>X-axis values for scatter/bubble charts (e.g., "Sheet1!$A$2:$A$6").
bubble_sizes: Option<String>Bubble sizes for bubble charts (e.g., "Sheet1!$C$2:$C$6").
Trait Implementations§
Source§impl Clone for ChartSeries
impl Clone for ChartSeries
Source§fn clone(&self) -> ChartSeries
fn clone(&self) -> ChartSeries
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChartSeries
impl RefUnwindSafe for ChartSeries
impl Send for ChartSeries
impl Sync for ChartSeries
impl Unpin for ChartSeries
impl UnwindSafe for ChartSeries
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