Description Usage Arguments Details See Also Examples
Customise the colorbar of your chart.
1 2 3 4 5 6 7  | ecolorbar(p, min = NULL, max = NULL, which = "previous", show = TRUE,
  color = NULL, zlevel = 4, z = 0, orient = "vertical", x = "left",
  y = "bottom", backgroundColor = "rgba(0,0,0,0)", borderColor = "#ccc",
  borderWidth = 0, padding = 5, itemGap = 10, itemWidth = 20,
  itemHeight = 14, precision = 0, splitNumber = 5, splitList = NULL,
  range = NULL, selectedMode = TRUE, calculable = FALSE,
  hoverLink = TRUE, realtime = FALSE, ...)
 | 
p | 
 an echart object.  | 
min, max | 
 minimum and maximum.  | 
which | 
 series to serie is to be affected, takes the name of a serie,   | 
show | 
 whether to show the color bar.  | 
color | 
 colors as list from high to low. i.e.:   | 
z, zlevel | 
 first and second grade cascading control, the higher z the closer to the top.  | 
orient | 
 orientation of bar,   | 
x | 
 x position;   | 
y | 
 y posotion;   | 
backgroundColor | 
 background color.  | 
borderColor | 
 border color.  | 
borderWidth | 
 width of border.  | 
padding | 
 padding.  | 
itemGap | 
 gap between items on bar.  | 
itemWidth | 
 width of the bar.  | 
itemHeight | 
 height of the bar.  | 
precision | 
 decimal precision.  | 
splitNumber | 
 number of segments.  | 
splitList | 
 see official docs for details.  | 
range | 
 used to set initial range i.e.:   | 
selectedMode | 
 selection mode.  | 
calculable | 
 whether values are calculable.  | 
hoverLink | 
 hoverlink with map.  | 
realtime | 
 set to   | 
... | 
 any other argument to pass to color bar.  | 
ecolorbar refers to datarange in docs.
1 2 3 4 5 6 7 8  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.