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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.