Struct sheets::types::ChartGroupRule
source · pub struct ChartGroupRule {
pub date_time_rule: Option<ChartDateTimeRule>,
pub histogram_rule: Option<ChartHistogramRule>,
}Expand description
An optional setting on the ChartData of the domain of a data source chart that defines buckets for the values in the domain rather than breaking out each individual value. For example, when plotting a data source chart, you can specify a histogram rule on the domain (it should only contain numeric values), grouping its values into buckets. Any values of a chart series that fall into the same bucket are aggregated based on the aggregate_type.
Fields
date_time_rule: Option<ChartDateTimeRule>An optional setting on the ChartData of the domain of a data source chart that defines buckets for the values in the domain rather than breaking out each individual value. For example, when plotting a data source chart, you can specify a histogram rule on the domain (it should only contain numeric values), grouping its values into buckets. Any values of a chart series that fall into the same bucket are aggregated based on the aggregate_type.
histogram_rule: Option<ChartHistogramRule>An optional setting on the ChartData of the domain of a data source chart that defines buckets for the values in the domain rather than breaking out each individual value. For example, when plotting a data source chart, you can specify a histogram rule on the domain (it should only contain numeric values), grouping its values into buckets. Any values of a chart series that fall into the same bucket are aggregated based on the aggregate_type.
Trait Implementations
sourceimpl Clone for ChartGroupRule
impl Clone for ChartGroupRule
sourcefn clone(&self) -> ChartGroupRule
fn clone(&self) -> ChartGroupRule
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for ChartGroupRule
impl Debug for ChartGroupRule
sourceimpl<'de> Deserialize<'de> for ChartGroupRule
impl<'de> Deserialize<'de> for ChartGroupRule
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
sourceimpl JsonSchema for ChartGroupRule
impl JsonSchema for ChartGroupRule
sourcefn schema_name() -> String
fn schema_name() -> String
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more