Struct google_sheets4::BasicChartSeries
source · pub struct BasicChartSeries {
pub color: Option<Color>,
pub series: Option<ChartData>,
pub target_axis: Option<String>,
pub line_style: Option<LineStyle>,
pub type_: Option<String>,
}Expand description
A single series of data in a chart. For example, if charting stock prices over time, multiple series may exist, one for the “Open Price”, “High Price”, “Low Price” and “Close Price”.
This type is not used in any activity, and only used as part of another schema.
Fields§
§color: Option<Color>The color for elements (i.e. bars, lines, points) associated with this series. If empty, a default color is used.
series: Option<ChartData>The data being visualized in this chart series.
target_axis: Option<String>The minor axis that will specify the range of values for this series. For example, if charting stocks over time, the “Volume” series may want to be pinned to the right with the prices pinned to the left, because the scale of trading volume is different than the scale of prices. It is an error to specify an axis that isn’t a valid minor axis for the chart’s type.
line_style: Option<LineStyle>The line style of this series. Valid only if the chartType is AREA, LINE, or SCATTER. COMBO charts are also supported if the series chart type is AREA or LINE.
type_: Option<String>The type of this series. Valid only if the chartType is COMBO. Different types will change the way the series is visualized. Only LINE, AREA, and COLUMN are supported.
Trait Implementations§
source§impl Clone for BasicChartSeries
impl Clone for BasicChartSeries
source§fn clone(&self) -> BasicChartSeries
fn clone(&self) -> BasicChartSeries
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BasicChartSeries
impl Debug for BasicChartSeries
source§impl Default for BasicChartSeries
impl Default for BasicChartSeries
source§fn default() -> BasicChartSeries
fn default() -> BasicChartSeries
source§impl<'de> Deserialize<'de> for BasicChartSeries
impl<'de> Deserialize<'de> for BasicChartSeries
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>,
source§impl Serialize for BasicChartSeries
impl Serialize for BasicChartSeries
impl Part for BasicChartSeries
Auto Trait Implementations§
impl Freeze for BasicChartSeries
impl RefUnwindSafe for BasicChartSeries
impl Send for BasicChartSeries
impl Sync for BasicChartSeries
impl Unpin for BasicChartSeries
impl UnwindSafe for BasicChartSeries
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more