Learn R Programming

myIO (version 1.2.0)

setTitle: Set Chart Title

Description

Sets the title rendered inside the myIO widget SVG.

Usage

setTitle(myIO, title = NULL)

Value

A modified myIO htmlwidget object.

Arguments

myIO

A myIO widget object.

title

Character title or NULL to remove the title.

Examples

Run this code
myIO() |>
  setTitle("Miles per gallon") |>
  addIoLayer("point", label = "cars",
             data = mtcars,
             mapping = list(x_var = "wt", y_var = "mpg"))

Run the code above in your browser using DataLab