Skip to contents

Charts

Start a chart. Each shortcut is the equivalent pipeline of set_*() calls, ready to pipe further. Chart types with their own options document them alongside the shortcut, as set_histogram() and set_boxplot().

arc_chart()
Start a chart
arc_bar()
Bar chart
arc_col()
Column chart
arc_scatter()
Scatterplot
arc_line()
Line chart
arc_histogram() set_histogram()
Histogram
arc_boxplot() set_boxplot()
Box plot
arc_heat()
Heat chart
arc_pie() set_pie()
Pie chart
arc_radar()
Radar chart
arc_gauge() set_gauge()
Gauge
ArcChart()
A chart specification

Aesthetics

Bind columns and text to a chart.

set_type()
Set a chart's type
set_x() set_y()
Map a column to a chart's x or y field
set_stat()
Set a chart's statistical transformation
set_color()
Map a column to colour
set_size()
Map a column to marker size
set_labs()
Set a chart's labels
set_tooltip()
Add columns to a chart's tooltip

Scales and orientation

How the axes are scaled, which way the chart is drawn, and how its groups are keyed.

set_axis()
Set an axis
set_flipped()
Swap a chart's axes
set_position()
Arrange grouped bars and lines
set_legend()
Position or hide a chart's legend

Maps

Draw an sf object as a client side feature layer. The data travels as a feature collection, so no feature service is involved.

arc_map()
Start a map
add_layer()
Add a layer to a map
add_renderer()
Set a layer's renderer
new_renderer()
Create a renderer
new_symbol()
Create a symbol
new_legend_options()
Describe a renderer in the legend
set_basemap()
Set the basemap
set_view()
Set the initial view
set_highlight()
Style the selection highlight
ArcMap
A map
MapLayer
A layer on a map

Map widgets

The Maps SDK’s own components, drawn over the map. Each is a real web component that finds the map itself. add_widget() is the mechanism the rest are sugar for, and reaches components without a wrapper.

add_legend()
Add a legend
add_layer_list()
Add a layer list
add_basemap_gallery() add_basemap_toggle()
Add a basemap gallery
add_search()
Add a search box
add_bookmarks()
Add a bookmark list
add_scale_bar()
Add a scale bar
add_coordinate_conversion()
Add a coordinate readout
add_zoom() add_home() add_compass() add_fullscreen() add_locate() add_track()
Add a navigation control
add_sketch()
Add a drawing tool
add_editor()
Add an editor
add_measurement()
Add a measurement tool
add_widget() remove_widget()
Add a widget to a map
map_widgets()
Every widget a map can carry
MapWidget
A widget on a map

Palettes

Every colour ramp set_color() accepts by name, searchable by the tags the ArcGIS SDK ships alongside them.

esri_palettes()
Browse the Esri colour ramps
palette_tags()
The tags the Esri ramps are labelled with

Rendering

Turn a chart into an htmlwidget, in a document or in Shiny.

as_widget()
Convert a chart or map to an htmlwidget
as_feature_layer()
Build a feature layer from a data frame
IFeatureLayer
IFeatureLayer
arcgis_chart()
Render an ArcGIS chart
arcgisChartOutput() renderArcgisChart()
Shiny bindings for arcgis_chart
arcgis_map()
Render an ArcGIS map
arcgisMapOutput() renderArcgisMap()
Shiny bindings for arcgis_map

Shiny

Update a chart or map that is already on screen without resending its data, and read back what the reader did to it.

ArcProxy() arc_proxy()
Update a rendered chart from the Shiny server
ArcMapProxy() arc_map_proxy()
Update a rendered map from the Shiny server
arc_update()
Send a proxy's changes to the browser
set_filter()
Filter a rendered chart or map in the browser
set_selection()
Select features on a rendered chart or map
arc_draw_selection()
Select features by drawing on the map
arc_selected()
Read a map selection
arc_sf()
Read what was drawn or edited on a map
set_layer() remove_layer()
Show, hide, or fade a layer that is already drawn
arc_goto() arc_screenshot()
Move a rendered map's view
arc_refresh() arc_reset_zoom() arc_clear_selection() arc_export_image() arc_export_csv() arc_notify()
Invoke a rendered chart's own methods

Chart configuration

S7 classes mirroring the WebChart JSON the Maps SDK consumes. Built for you by the functions above.

WebChart()
WebChart
WebBoxPlot
WebBoxPlot
WebHeatChart
WebHeatChart
WebGaugeChart
WebGaugeChart
WebRadarChart
WebRadarChart
WebChartAxis()
WebChartAxis
WebChartGaugeAxis
WebChartGaugeAxis
WebChartRadarChartAxis
WebChartRadarChartAxis
WebChartAxisScrollBar()
WebChartAxisScrollBar
WebChartCursorCrosshair()
WebChartCursorCrosshair
WebChartDataFilters()
WebChartDataFilters
WebChartGuide()
WebChartGuide
WebChartLegend()
WebChartLegend
WebChartPieChartLegend
WebChartPieChartLegend
WebChartNullCategory()
WebChartNullCategory
WebChartOverlay()
WebChartOverlay
WebChartText()
WebChartText
WebChartTextSymbol()
WebChartTextSymbol

Ordering

How a chart sorts its data and its series.

WebChartOrderOptions()
WebChartOrderOptions
WebChartDirectionalDataOrder()
WebChartDirectionalDataOrder
WebChartMultiAxesDataOrder()
WebChartMultiAxesDataOrder
WebChartPredefinedLabelsDataOrder()
WebChartPredefinedLabelsDataOrder
WebChartOrderSeriesBy()
WebChartOrderSeriesBy

Series

One class per chart type, plus the query that feeds it.

WebChartBarChartSeries()
WebChartBarChartSeries
WebChartLineChartSeries()
WebChartLineChartSeries
WebChartScatterplotSeries()
WebChartScatterplotSeries
WebChartHistogramSeries
WebChartHistogramSeries
WebChartBoxPlotSeries
WebChartBoxPlotSeries
WebChartHeatChartSeries
WebChartHeatChartSeries
WebChartPieChartSeries
WebChartPieChartSeries
WebChartGaugeSeries
WebChartGaugeSeries
WebChartSeriesQuery()
WebChartSeriesQuery
WebChartTemporalBinning()
WebChartTemporalBinning
WebChartTemporalBinningOffset()
WebChartTemporalBinningOffset
WebChartCalendarDatePartsBinning
WebChartCalendarDatePartsBinning
ScatterplotOverlays()
ScatterplotOverlays
HistogramOverlays
HistogramOverlays
SizePolicy()
SizePolicy

Heat rules

How heat chart cells are shaded and how empty ones are drawn.

WebChartHeatChartGradient
WebChartHeatChartGradient
WebChartHeatChartHeatClassBreaks
WebChartHeatChartHeatClassBreaks
WebChartHeatChartHeatClassBreaksColorRampInfo
WebChartHeatChartHeatClassBreaksColorRampInfo
WebChartHeatChartEmptyCell
WebChartHeatChartEmptyCell

Renderers

Data driven styling. A simple renderer carries visual variables for continuous colour and a unique value renderer covers categories.

ISimpleRenderer
ISimpleRenderer
IColorVisualVariable
IColorVisualVariable
IColorStop
IColorStop
IUniqueValueRenderer
IUniqueValueRenderer
IUniqueValueInfo
IUniqueValueInfo
ILegendOptions
ILegendOptions

Pie slices and gauge dials

The parts only these two types have: a pie’s slices and their ticks, a gauge’s needle and its progress bands.

WebChartPieChartSlice
WebChartPieChartSlice
WebChartPieChartGroupSlice
WebChartPieChartGroupSlice
WebChartPieChartTick
WebChartPieChartTick
WebChartNeedle
WebChartNeedle
WebChartGaugeAxisTick
WebChartGaugeAxisTick
WebChartGaugeFixedProgressBands
WebChartGaugeFixedProgressBands
WebChartGaugeFixedProgressBandsBands
WebChartGaugeFixedProgressBandsBands
ValueConversion
ValueConversion

Symbols and colour

How individual marks are drawn.

Color()
An RGBA colour
ISimpleFillSymbol()
ISimpleFillSymbol
ISimpleLineSymbol()
ISimpleLineSymbol
ISimpleMarkerSymbol()
ISimpleMarkerSymbol
IFont()
IFont

Value formatting

How numbers, dates, and categories are rendered as text.

NumberFormatOptions()
NumberFormatOptions
DateTimeFormatOptions()
DateTimeFormatOptions
CategoryFormatOptions()
CategoryFormatOptions
WebChartDateTimeUnitFormatOptions()
WebChartDateTimeUnitFormatOptions
IntlDateTimeFormatOptions()
IntlDateTimeFormatOptions
IntlNumberFormatOptions()
IntlNumberFormatOptions
TimeIntervalInfo()
TimeIntervalInfo

Statistics

Server side aggregation applied before the chart is drawn.

IStatisticDefinition()
IStatisticDefinition
IStatisticDefinitionStatisticParameters()
IStatisticDefinitionStatisticParameters

Enumerations

Scalar values drawn from a fixed set of variants. Each one validates a single property of the classes above.

ModelTypes()
ModelTypes
GaugeChartSubTypes()
GaugeChartSubTypes
IFeatureLayerFeatureCollectionType()
IFeatureLayerFeatureCollectionType
Basemaps()
Basemaps
RESTUnits()
RESTUnits
IFontDecoration()
IFontDecoration
IFontStyle()
IFontStyle
IFontWeight()
IFontWeight
IRendererRotationType()
IRendererRotationType
ILegendOptionsOrder()
ILegendOptionsOrder
IStatisticDefinitionStatisticType()
IStatisticDefinitionStatisticType
IStatisticDefinitionStatisticParametersOrderBy()
IStatisticDefinitionStatisticParametersOrderBy
SimpleFillSymbolStyle()
SimpleFillSymbolStyle
SimpleLineSymbolStyle()
SimpleLineSymbolStyle
SimpleMarkerSymbolStyle()
SimpleMarkerSymbolStyle
SizePolicyScaleTypes()
SizePolicyScaleTypes
WebChartDirectionalDataOrderOrderType()
WebChartDirectionalDataOrderOrderType
WebChartLabelBehavior()
WebChartLabelBehavior
WebChartLegendPositions()
WebChartLegendPositions
WebChartNullPolicyTypes()
WebChartNullPolicyTypes
WebChartRadarChartAxisLabelsOrientation()
WebChartRadarChartAxisLabelsOrientation
WebChartQuerySpatialRelationship()
WebChartQuerySpatialRelationship
WebChartSortOrderKinds()
WebChartSortOrderKinds
WebChartStackedKinds()
WebChartStackedKinds
WebChartDataTransformations()
WebChartDataTransformations
WebChartClassBreakTypes()
WebChartClassBreakTypes
WebChartHeatChartHeatRulesTypes()
WebChartHeatChartHeatRulesTypes
WebChartHeatChartViewTypes()
WebChartHeatChartViewTypes
WebChartCalendarDatePartsUnits()
WebChartCalendarDatePartsUnits
WebChartTemporalBinningUnits()
WebChartTemporalBinningUnits
WebChartTextSymbolHorizontalAlignment()
WebChartTextSymbolHorizontalAlignment
WebChartTextSymbolVerticalAlignment()
WebChartTextSymbolVerticalAlignment
WebChartTimeAggregationTypes()
WebChartTimeAggregationTypes
IntlDateTimeDigitStyle()
IntlDateTimeDigitStyle
IntlDateTimeFormatLength()
IntlDateTimeFormatLength
IntlFormatWidth()
IntlFormatWidth
IntlLocaleMatcher()
IntlLocaleMatcher
IntlDateTimeFormatOptionsFormatMatcher()
IntlDateTimeFormatOptionsFormatMatcher
IntlDateTimeFormatOptionsHourCycle()
IntlDateTimeFormatOptionsHourCycle
IntlDateTimeFormatOptionsMonth()
IntlDateTimeFormatOptionsMonth
IntlDateTimeFormatOptionsTimeZoneName()
IntlDateTimeFormatOptionsTimeZoneName
IntlNumberFormatOptionsCompactDisplay()
IntlNumberFormatOptionsCompactDisplay
IntlNumberFormatOptionsCurrencyDisplay()
IntlNumberFormatOptionsCurrencyDisplay
IntlNumberFormatOptionsCurrencySign()
IntlNumberFormatOptionsCurrencySign
IntlNumberFormatOptionsNotation()
IntlNumberFormatOptionsNotation
IntlNumberFormatOptionsSignDisplay()
IntlNumberFormatOptionsSignDisplay
IntlNumberFormatOptionsStyle()
IntlNumberFormatOptionsStyle