pub struct ScatterChart {
pub style: ScatterStyle,
pub vary_colors: Option<bool>,
pub series: Vec<ScatterSeries>,
pub x_axis_id: u32,
pub y_axis_id: u32,
}Expand description
A scatter chart (<c:scatterChart>, CT_ScatterChart) — like other chart types, paired with
exactly two axes (both value axes in practice, named x_axis_id/y_axis_id here rather than
category_axis_id/ value_axis_id since a scatter chart has no category axis at all).
Not modeled: dLbls.
Fields§
§style: ScatterStyle§vary_colors: Option<bool>§series: Vec<ScatterSeries>§x_axis_id: u32§y_axis_id: u32Implementations§
Source§impl ScatterChart
impl ScatterChart
pub fn new(x_axis_id: u32, y_axis_id: u32) -> ScatterChart
pub fn with_style(self, style: ScatterStyle) -> ScatterChart
pub fn with_vary_colors(self, vary: bool) -> ScatterChart
pub fn with_series(self, series: ScatterSeries) -> ScatterChart
Trait Implementations§
Source§impl Clone for ScatterChart
impl Clone for ScatterChart
Source§fn clone(&self) -> ScatterChart
fn clone(&self) -> ScatterChart
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 ScatterChart
impl Debug for ScatterChart
Source§impl PartialEq for ScatterChart
impl PartialEq for ScatterChart
impl StructuralPartialEq for ScatterChart
Auto Trait Implementations§
impl Freeze for ScatterChart
impl RefUnwindSafe for ScatterChart
impl Send for ScatterChart
impl Sync for ScatterChart
impl Unpin for ScatterChart
impl UnsafeUnpin for ScatterChart
impl UnwindSafe for ScatterChart
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