Interface: LineGeoOptions
Experimental
Options of lineGeo: px.line_geo's arguments in camelCase.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
animationFrame? | readonly | ColumnRef | Column of frame values: one frame per value (in categoryOrders / first-appearance order), with a Play / Pause update menu and a slider. Axis ranges are fixed across frames. | GeoOptions.animationFrame |
animationGroup? | readonly | ColumnRef | Column matching rows across frames (ids), so each object moves rather than being replaced. | GeoOptions.animationGroup |
basemapVisible? | readonly | boolean | Experimental false hides the base map: coastlines, land, borders and the frame (geo.visible). | GeoOptions.basemapVisible |
categoryOrders? | readonly | Readonly<Record<string, readonly unknown[]>> | Value orders per column: { day: ['Thu', 'Fri', 'Sat', 'Sun'] }. They order the traces and legend (for grouping columns), facets, frames and category axes. Values not listed follow in order of first appearance; listed values without rows still take a color and a facet (as px). | GeoOptions.categoryOrders |
center? | readonly | object | Experimental The point at the middle of the map, in degrees (geo.center). | GeoOptions.center |
center.lat? | readonly | number | - | - |
center.lon? | readonly | number | - | - |
color? | readonly | ColumnRef | Column to color by. | GeoOptions.color |
colorDiscreteMap? | readonly | Readonly<Record<string, string>> | "identity" | Fixed colors per value of color ({ Asia: 'red' }); other values continue with the sequence. 'identity': the values are colors themselves (no legend entries for them). | GeoOptions.colorDiscreteMap |
colorDiscreteSequence? | readonly | readonly string[] | Colors for the values of color, in order. Default: the template's colorway. | GeoOptions.colorDiscreteSequence |
customData? | readonly | readonly ColumnRef[] | Columns put in customdata (first, before hoverData's), e.g. for click handlers. | GeoOptions.customData |
facetCol? | readonly | ColumnRef | Column whose values make the columns of subplots. | GeoOptions.facetCol |
facetColSpacing? | readonly | number | Space between facet columns, as a fraction of the plot width. Default 0.02. | GeoOptions.facetColSpacing |
facetColWrap? | readonly | number | Wrap facetCol after this many columns (row by row from the top). Ignored with facetRow or a marginal. Default 0 (no wrapping). | GeoOptions.facetColWrap |
facetRow? | readonly | ColumnRef | Column whose values make the rows of subplots (first value at the top). | GeoOptions.facetRow |
facetRowSpacing? | readonly | number | Space between facet rows, as a fraction of the plot height. Default 0.03 (0.07 wrapped). | GeoOptions.facetRowSpacing |
featureIdKey? | readonly | string | Experimental Key of the geojson features matched against locations (featureidkey). Default 'id'. | GeoOptions.featureIdKey |
fitBounds? | readonly | false | "locations" | "geojson" | Experimental Fit the view to the data (geo.fitbounds): 'locations', 'geojson' or false. Default: unset, so the map fits its locations (Holochart's default); false with animationFrame, so the view holds still across frames. | GeoOptions.fitBounds |
geojson? | readonly | string | object | Experimental GeoJSON whose features locations refer to: a FeatureCollection or Feature, or a URL of one. Every trace gets the object itself, not a copy. | GeoOptions.geojson |
height? | readonly | number | Figure height in px (layout.height). | GeoOptions.height |
hoverData? | readonly | | readonly ColumnRef[] | Readonly<Record<string, string | boolean>> | More columns for the hover label, through customdata: a list of columns, or an object that adds columns (true), removes lines (false, e.g. { x: false }) or formats them (':.2f', `' | %Y'`). |
hoverName? | readonly | ColumnRef | Column shown in bold at the top of the hover label (hovertext). | GeoOptions.hoverName |
labels? | readonly | Readonly<Record<string, string>> | Display names of columns: { gdpPercap: 'GDP per capita' }. Used for axis titles, hover lines, the legend title, facet labels, the colorbar title and the animation slider. | GeoOptions.labels |
lat? | readonly | ColumnRef | Experimental Column of latitudes, in degrees north. | - |
lineDash? | readonly | ColumnRef | Column whose values get different line dashes (one trace per value). | LineDashOptions.lineDash |
lineDashMap? | readonly | Readonly<Record<string, string>> | "identity" | Fixed dashes per value; 'identity': the values are dashes. | LineDashOptions.lineDashMap |
lineDashSequence? | readonly | readonly string[] | Dashes in order. Default: solid, dot, dash, longdash, dashdot, longdashdot. | LineDashOptions.lineDashSequence |
lineGroup? | readonly | ColumnRef | Experimental Column splitting lines within a color group. | - |
locationMode? | readonly | "ISO-3" | "USA-states" | "country names" | "geojson-id" | Experimental What locations name (locationmode): 'ISO-3' country codes (the default), 'USA-states', 'country names', or 'geojson-id' (the default with geojson). | GeoOptions.locationMode |
locations? | readonly | ColumnRef | Experimental Column of location ids or names (see locationMode): the regions of a choropleth, or the places of markers and lines instead of lat / lon. | GeoOptions.locations |
lon? | readonly | ColumnRef | Experimental Column of longitudes, in degrees east. | - |
markers? | readonly | boolean | Experimental Show markers at the points. | - |
projection? | readonly | string | Experimental The map projection (geo.projection.type): 'natural earth', 'orthographic', 'mercator', …, or 'globe3d', a Holochart extra (a 3D globe). Default: the scope's ('equirectangular' for the world). | GeoOptions.projection |
scope? | readonly | | "world" | "usa" | "europe" | "asia" | "africa" | "north america" | "south america" | "antarctica" | "oceania" | Experimental The part of the world the base map covers (geo.scope): the world, the USA or a continent. Default 'world'. | GeoOptions.scope |
symbol? | readonly | ColumnRef | Column whose values get different marker symbols (one trace per value). | SymbolOptions.symbol |
symbolMap? | readonly | Readonly<Record<string, string>> | "identity" | Fixed symbols per value; 'identity': the values are symbols. | SymbolOptions.symbolMap |
symbolSequence? | readonly | readonly string[] | Symbols in order. Default: the template's scatter symbols, else circle, diamond, square, x, cross. | SymbolOptions.symbolSequence |
template? | readonly | string | Template | layout.template: a registered name ('plotly-classic') or a template object. Default: unset, so the chart's default template applies (Holochart's holochart look); its colorway, symbol and dash cycles and sequential colorscale are what the figure's colors are taken from. | GeoOptions.template |
text? | readonly | ColumnRef | Experimental Column of text drawn at the points. | - |
title? | readonly | string | Figure title (layout.title.text). | GeoOptions.title |
width? | readonly | number | Figure width in px (layout.width). | GeoOptions.width |