Learn R Programming

apexcharter (version 0.4.2)

bubble_opts: Bubble options

Description

Use these options in ax_plotOptions().

Usage

bubble_opts(minBubbleRadius, maxBubbleRadius, ...)

Value

A list of options that can be used in ax_plotOptions().

Arguments

minBubbleRadius

Minimum radius size of a bubble. If a bubble value is too small to be displayed, this size will be used.

maxBubbleRadius

Maximum radius size of a bubble. If a bubble value is too large to cover the chart, this size will be used.

...

Additional parameters.

Examples

Run this code
apex(
  data = mtcars, 
  type = "scatter", 
  mapping = aes(x = wt, y = mpg, z = qsec)
) %>% 
  ax_plotOptions(
    bubble = bubble_opts(
      minBubbleRadius = 1,
      maxBubbleRadius = 20
    )
  )

Run the code above in your browser using DataLab