cas_show_barchart_ggiraph: Creates interacative barchart with ggiraph

View source: R/cas_show_barchart.R

cas_show_barchart_ggiraphR Documentation

Creates interacative barchart with ggiraph

Description

For detail on parameters, see https://davidgohel.github.io/ggiraph/articles/offcran/using_ggiraph.html

Usage

cas_show_barchart_ggiraph(
  ggobj,
  data_id = NULL,
  tooltip = NULL,
  position = "stack"
)

Arguments

ggobj

A ggplot2 object, typically generated with cas_show_gg_base()

data_id

Defaults to NULL. If given, unquoted name of column, passed to ggiraph.

tooltip

Defaults to NULL. If given, unquoted name of column, passed to ggiraph.

position

Defaults to "stack". Available values include "dodge".

Value

A girafe/htmlwidget object


giocomai/castarter documentation built on April 23, 2024, 11:14 p.m.