[][src]Struct google_sheets4::BasicChartSpec

pub struct BasicChartSpec {
    pub stacked_type: Option<String>,
    pub header_count: Option<i32>,
    pub series: Option<Vec<BasicChartSeries>>,
    pub interpolate_nulls: Option<bool>,
    pub legend_position: Option<String>,
    pub line_smoothing: Option<bool>,
    pub compare_mode: Option<String>,
    pub domains: Option<Vec<BasicChartDomain>>,
    pub chart_type: Option<String>,
    pub axis: Option<Vec<BasicChartAxis>>,
    pub three_dimensional: Option<bool>,
}

The specification for a basic chart. See BasicChartType for the list of charts this supports.

This type is not used in any activity, and only used as part of another schema.

Fields

stacked_type: Option<String>

The stacked type for charts that support vertical stacking. Applies to Area, Bar, Column, Combo, and Stepped Area charts.

header_count: Option<i32>

The number of rows or columns in the data that are "headers". If not set, Google Sheets will guess how many rows are headers based on the data.

(Note that BasicChartAxis.title may override the axis title inferred from the header values.)

series: Option<Vec<BasicChartSeries>>

The data this chart is visualizing.

interpolate_nulls: Option<bool>

If some values in a series are missing, gaps may appear in the chart (e.g, segments of lines in a line chart will be missing). To eliminate these gaps set this to true. Applies to Line, Area, and Combo charts.

legend_position: Option<String>

The position of the chart legend.

line_smoothing: Option<bool>

Gets whether all lines should be rendered smooth or straight by default. Applies to Line charts.

compare_mode: Option<String>

The behavior of tooltips and data highlighting when hovering on data and chart area.

domains: Option<Vec<BasicChartDomain>>

The domain of data this is charting. Only a single domain is supported.

chart_type: Option<String>

The type of the chart.

axis: Option<Vec<BasicChartAxis>>

The axis on the chart.

three_dimensional: Option<bool>

True to make the chart 3D. Applies to Bar and Column charts.

Trait Implementations

impl Part for BasicChartSpec[src]

impl Default for BasicChartSpec[src]

impl Clone for BasicChartSpec[src]

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

Performs copy-assignment from source. Read more

impl Debug for BasicChartSpec[src]

impl Serialize for BasicChartSpec[src]

impl<'de> Deserialize<'de> for BasicChartSpec[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]