Spikes
Usage
bt_spikes(
bertin,
data,
values,
k = 50,
w = 10,
fill = "#a31d88",
stroke = 0.7,
strokeWidth = 0.7,
fillOpacity = 0.3,
tooltip,
display = TRUE,
leg_x,
leg_y,
leg_fill = "none",
leg_stroke = "black",
leg_strokeWidth = 0.8,
leg_txtcol = "#363636",
leg_title = values,
leg_round,
leg_fontSize = 14,
leg_fontSize2 = 10
)
Arguments
- bertin
map object
- data
sf object EPSG:4326
- values
a string corresponding to the targeted variable in the properties
- k
size of the largest object
- w
width of the spikes
- fill
fill color
- stroke
stroke color
- strokeWidth
stroke width
- fillOpacity
fill opacity
- tooltip
tooltip allows you to display a label when you fly over an object
- display
Boolean to allow to show or hide the layer. This parameter has no effect on the calculation of the extent
- leg_x
position in x (if this value is not filled, the legend is not displayed)(value in px)
- leg_y
position in y (if this value is not filled, the legend is not displayed)(value in px)
- leg_fill
color of the circles
- leg_stroke
stroke color of the circles
- leg_strokeWidth
stoke-width of the legend
- leg_txtcol
color of the text
- leg_title
title of the legend
- leg_round
number of digits after the decimal point
- leg_fontSize
legend title font size
- leg_fontSize2
legend text font size