-
-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathe_button.Rd
More file actions
32 lines (28 loc) · 847 Bytes
/
e_button.Rd
File metadata and controls
32 lines (28 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/button.R
\name{e_button}
\alias{e_button}
\title{Button}
\usage{
e_button(e, id, ..., position = "top", tag = htmltools::tags$button)
}
\arguments{
\item{e}{An \code{echarts4r} object as returned by \code{\link{e_charts}} or
a proxy as returned by \code{\link{echarts4rProxy}}.}
\item{id}{A valid CSS id.}
\item{...}{Content of the button, complient with \code{htmltools}.}
\item{position}{Position of button, \code{top} or \code{bottom}.}
\item{tag}{A Valid \code{htmltools::tags} function.}
}
\description{
Add a button to your visualisation.
}
\examples{
iris |>
group_by(Species) |>
e_charts(Sepal.Length) |>
e_line(Sepal.Width) |>
e_line(Petal.Length) |>
e_highlight(series_name = "setosa", btn = "myBtn") |>
e_button("myBtn", "highlight stuff")
}