[][src]Struct google_sheets4::BasicChartSeries

pub struct BasicChartSeries {
    pub line_style: Option<LineStyle>,
    pub color_style: Option<ColorStyle>,
    pub color: Option<Color>,
    pub series: Option<ChartData>,
    pub type_: Option<String>,
    pub target_axis: 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

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.

color_style: Option<ColorStyle>

The color for elements (such as bars, lines, and points) associated with this series. If empty, a default color is used. If color is also set, this field takes precedence.

color: Option<Color>

The color for elements (such as bars, lines, and points) associated with this series. If empty, a default color is used.

series: Option<ChartData>

The data being visualized in this chart series.

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.

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.

Trait Implementations

impl Clone for BasicChartSeries[src]

impl Debug for BasicChartSeries[src]

impl Default for BasicChartSeries[src]

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

impl Part for BasicChartSeries[src]

impl Serialize for BasicChartSeries[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any