Skip to contents

Parameters to add and customize modebars in roboplots.

Usage

set_modebar(
  buttons = getOption("roboplot.modebar")$buttons,
  display = getOption("roboplot.modebar")$display,
  title = getOption("roboplot.modebar")$title,
  ...
)

Arguments

buttons

Character vector. Buttons contained in modebar in the given order. Must contain any of "home", "closest", "compare", "zoomin", "zoomout", "img_w", "img_n", "img_s", "data_dl" and "robonomist" in any order.

display

Character. One of "constant", "hover" or "none". Controls whether modebar is visible always, only on hover, or never. Whatever the choice, static exports will not display a modebar.

...

Placeholder for other parameters.

title.

This will be the title used for static files downloaded through modebar. Control image download title extension specifications with set_imgdl_layout(). roboplot title will be used if no title is given here.

Value

A list.