[][src]Struct google_sheets4::HistogramChartSpec

pub struct HistogramChartSpec {
    pub outlier_percentile: Option<f64>,
    pub series: Option<Vec<HistogramSeries>>,
    pub show_item_dividers: Option<bool>,
    pub legend_position: Option<String>,
    pub bucket_size: Option<f64>,
}

A histogram chart. A histogram chart groups data items into bins, displaying each bin as a column of stacked items. Histograms are used to display the distribution of a dataset. Each column of items represents a range into which those items fall. The number of bins can be chosen automatically or specified explicitly.

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

Fields

outlier_percentile: Option<f64>

The outlier percentile is used to ensure that outliers do not adversely affect the calculation of bucket sizes. For example, setting an outlier percentile of 0.05 indicates that the top and bottom 5% of values when calculating buckets. The values are still included in the chart, they will be added to the first or last buckets instead of their own buckets. Must be between 0.0 and 0.5.

series: Option<Vec<HistogramSeries>>

The series for a histogram may be either a single series of values to be bucketed or multiple series, each of the same length, containing the name of the series followed by the values to be bucketed for that series.

show_item_dividers: Option<bool>

Whether horizontal divider lines should be displayed between items in each column.

legend_position: Option<String>

The position of the chart legend.

bucket_size: Option<f64>

By default the bucket size (the range of values stacked in a single column) is chosen automatically, but it may be overridden here. E.g., A bucket size of 1.5 results in buckets from 0 - 1.5, 1.5 - 3.0, etc. Cannot be negative. This field is optional.

Trait Implementations

impl Part for HistogramChartSpec[src]

impl Default for HistogramChartSpec[src]

impl Clone for HistogramChartSpec[src]

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

Performs copy-assignment from source. Read more

impl Debug for HistogramChartSpec[src]

impl Serialize for HistogramChartSpec[src]

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