pub struct SeriesData {
pub name: String,
pub values: Vec<Option<f64>>,
pub x: Option<Vec<Option<f64>>>,
pub sizes: Option<Vec<Option<f64>>>,
pub color: Rgba,
pub kind: ChartKind,
pub secondary: bool,
pub smooth: bool,
pub trendlines: Vec<TrendlineData>,
pub number_format: String,
}Fields§
§name: String§values: Vec<Option<f64>>§x: Option<Vec<Option<f64>>>Numeric X values (scatter, bubble).
sizes: Option<Vec<Option<f64>>>Bubble sizes.
color: Rgba§kind: ChartKindPer-series kind (combo charts).
secondary: boolPlotted against the secondary (right) value axis.
smooth: boolDraw line segments as a smoothed (spline) curve.
trendlines: Vec<TrendlineData>Trendlines to fit and draw over this series.
number_format: StringNumber format code of the source values (“General” by default).
Trait Implementations§
Source§impl Clone for SeriesData
impl Clone for SeriesData
Source§fn clone(&self) -> SeriesData
fn clone(&self) -> SeriesData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SeriesData
impl Debug for SeriesData
Source§impl Default for SeriesData
impl Default for SeriesData
Source§impl<'de> Deserialize<'de> for SeriesData
impl<'de> Deserialize<'de> for SeriesData
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 PartialEq for SeriesData
impl PartialEq for SeriesData
Source§impl Serialize for SeriesData
impl Serialize for SeriesData
impl StructuralPartialEq for SeriesData
Auto Trait Implementations§
impl Freeze for SeriesData
impl RefUnwindSafe for SeriesData
impl Send for SeriesData
impl Sync for SeriesData
impl Unpin for SeriesData
impl UnsafeUnpin for SeriesData
impl UnwindSafe for SeriesData
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