Struct google_sheets4::api::TreemapChartColorScale [−][src]
pub struct TreemapChartColorScale {
pub max_value_color: Option<Color>,
pub max_value_color_style: Option<ColorStyle>,
pub mid_value_color: Option<Color>,
pub mid_value_color_style: Option<ColorStyle>,
pub min_value_color: Option<Color>,
pub min_value_color_style: Option<ColorStyle>,
pub no_data_color: Option<Color>,
pub no_data_color_style: Option<ColorStyle>,
}
Expand description
A color scale for a treemap chart.
This type is not used in any activity, and only used as part of another schema.
Fields
max_value_color: Option<Color>
The background color for cells with a color value greater than or equal to maxValue. Defaults to #109618 if not specified.
max_value_color_style: Option<ColorStyle>
The background color for cells with a color value greater than or equal to maxValue. Defaults to #109618 if not specified. If max_value_color is also set, this field takes precedence.
mid_value_color: Option<Color>
The background color for cells with a color value at the midpoint between minValue and maxValue. Defaults to #efe6dc if not specified.
mid_value_color_style: Option<ColorStyle>
The background color for cells with a color value at the midpoint between minValue and maxValue. Defaults to #efe6dc if not specified. If mid_value_color is also set, this field takes precedence.
min_value_color: Option<Color>
The background color for cells with a color value less than or equal to minValue. Defaults to #dc3912 if not specified.
min_value_color_style: Option<ColorStyle>
The background color for cells with a color value less than or equal to minValue. Defaults to #dc3912 if not specified. If min_value_color is also set, this field takes precedence.
no_data_color: Option<Color>
The background color for cells that have no color data associated with them. Defaults to #000000 if not specified.
no_data_color_style: Option<ColorStyle>
The background color for cells that have no color data associated with them. Defaults to #000000 if not specified. If no_data_color is also set, this field takes precedence.
Trait Implementations
Returns the “default value” for a type. Read more
fn 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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TreemapChartColorScale
impl Send for TreemapChartColorScale
impl Sync for TreemapChartColorScale
impl Unpin for TreemapChartColorScale
impl UnwindSafe for TreemapChartColorScale
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more