google_api_fusion_tables v0.4.0 GoogleApi.FusionTables.V2.Model.StyleFunction View Source

Represents a StyleFunction within a StyleSetting

Attributes

  • buckets (type: list(GoogleApi.FusionTables.V2.Model.Bucket.t), default: nil) - Bucket function that assigns a style based on the range a column value falls into.
  • columnName (type: String.t, default: nil) - Name of the column whose value is used in the style.
  • gradient (type: GoogleApi.FusionTables.V2.Model.StyleFunctionGradient.t, default: nil) - Gradient function that interpolates a range of colors based on column value.
  • kind (type: String.t, default: nil) - Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.FusionTables.V2.Model.StyleFunction{
  buckets: [GoogleApi.FusionTables.V2.Model.Bucket.t()],
  columnName: String.t(),
  gradient: GoogleApi.FusionTables.V2.Model.StyleFunctionGradient.t(),
  kind: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.