[−][src]Struct google_sheets4::ScorecardChartSpec
A scorecard chart. Scorecard charts are used to highlight key performance indicators, known as KPIs, on the spreadsheet. A scorecard chart can represent things like total sales, average cost, or a top selling item. You can specify a single data value, or aggregate over a range of data. Percentage or absolute difference from a baseline value can be highlighted, like changes over time.
This type is not used in any activity, and only used as part of another schema.
Fields
number_format_source: Option<String>The number format source used in the scorecard chart. This field is optional.
baseline_value_data: Option<ChartData>The data for scorecard baseline value. This field is optional.
key_value_format: Option<KeyValueFormat>Formatting options for key value.
aggregate_type: Option<String>The aggregation type for key and baseline chart data in scorecard chart. This field is optional.
baseline_value_format: Option<BaselineValueFormat>Formatting options for baseline value. This field is needed only if baseline_value_data is specified.
key_value_data: Option<ChartData>The data for scorecard key value.
scale_factor: Option<f64>Value to scale scorecard key and baseline value. For example, a factor of 10 can be used to divide all values in the chart by 10. This field is optional.
custom_format_options: Option<ChartCustomNumberFormatOptions>Custom formatting options for numeric key/baseline values in scorecard chart. This field is used only when number_format_source is set to CUSTOM. This field is optional.
Trait Implementations
impl Clone for ScorecardChartSpec[src]
fn clone(&self) -> ScorecardChartSpec[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ScorecardChartSpec[src]
impl Default for ScorecardChartSpec[src]
fn default() -> ScorecardChartSpec[src]
impl<'de> Deserialize<'de> for ScorecardChartSpec[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for ScorecardChartSpec[src]
impl Serialize for ScorecardChartSpec[src]
Auto Trait Implementations
impl RefUnwindSafe for ScorecardChartSpec
impl Send for ScorecardChartSpec
impl Sync for ScorecardChartSpec
impl Unpin for ScorecardChartSpec
impl UnwindSafe for ScorecardChartSpec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,