Skip to content

Commit

Permalink
added clickAction
Browse files Browse the repository at this point in the history
  • Loading branch information
eliztang authored Jul 8, 2016
1 parent ad22e4c commit 81f701a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/chorddiag.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ chorddiag <- function(data,
tooltipUnit = NULL,
tooltipFontsize = 12,
tooltipGroupConnector = " &#x25B6; ",
precision = NULL) {
precision = NULL,
clickAction = NULL) {

if (!is.matrix(data))
stop("'data' must be a matrix class object.")
Expand Down Expand Up @@ -206,7 +207,8 @@ chorddiag <- function(data,
tooltipFontsize = tooltipFontsize,
tooltipUnit = tooltipUnit,
tooltipGroupConnector = tooltipGroupConnector,
precision = precision))
precision = precision,
clickAction = clickAction))
params = Filter(Negate(is.null), params)

# create widget
Expand Down

0 comments on commit 81f701a

Please sign in to comment.