Plotly.Choroplethmap (plotly_ex v0.3.0)

Copy Markdown View Source

Plotly Choroplethmap trace struct. All top-level trace properties are struct fields. Unknown keys raise ArgumentError at construction time.

Nested properties (marker, line, etc.) accept plain maps or keyword lists — keyword lists are automatically normalised to maps before JSON encoding.

Fields

See the Plotly choroplethmap reference for full descriptions.

  • :autocolorscale — boolean
  • :below — string
  • :coloraxis — string (subplot id)
  • :colorbar — map (nested properties)
  • :colorscale — colorscale
  • :customdata — data array
  • :featureidkey — string
  • :geojson — any
  • :hoverinfo — flags: "location" | "z" | "text" | "name" | "all" | "none" | "skip"

  • :hoverlabel — map (nested properties)
  • :hovertemplate — string
  • :hovertemplatefallback — any
  • :hovertext — string
  • :ids — data array
  • :legend — string (subplot id)
  • :legendgroup — string
  • :legendgrouptitle — map (nested properties)
  • :legendrank — number
  • :legendwidth — number, 0
  • :locations — data array
  • :marker — map (nested properties)
  • :meta — any
  • :name — string
  • :reversescale — boolean
  • :selected — map (nested properties)
  • :selectedpoints — any
  • :showlegend — boolean
  • :showscale — boolean
  • :subplot — string (subplot id)
  • :text — string
  • :uid — string
  • :uirevision — any
  • :unselected — map (nested properties)
  • :visible — one of: true | false | "legendonly"

  • :z — data array
  • :zauto — boolean
  • :zmax — number
  • :zmid — number
  • :zmin — number

Summary

Functions

Construct a Choroplethmap trace. Raises ArgumentError on unknown keys.

Functions

new(opts \\ [])

Construct a Choroplethmap trace. Raises ArgumentError on unknown keys.