[][src]Struct google_sheets4::BasicChartSeries

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>,
}

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

impl Part for BasicChartSeries[src]

impl Default for BasicChartSeries[src]

impl Clone for BasicChartSeries[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for BasicChartSeries[src]

impl Serialize for BasicChartSeries[src]

impl<'de> Deserialize<'de> for BasicChartSeries[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]