3D Pie Chart using Highcharter

Hello,
I'm trying to plot a 3D pie chart using highcharter library, but can't manage the category labels to show up. A reproducible code is given below:

data <- data.frame(
  category = c("A", "B", "C"),
  value = c(10, 20, 30)
)

highchart() %>% 
  hc_chart(type ="pie",
           options3d = list(enabled = TRUE, beta = 0, alpha = 60)) %>%
  hc_xAxis(categories = data$category) %>%
  hc_add_series(data = data$value, name = "Value") %>% 
  hc_plotOptions(pie = list(depth = 70))

This same approach works with bar plots, but not with pies. Can anyone help me with this problem? Thanks in advance.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.