我正在尝试在我的高宪章轴线图中设置特定范围
library(highcharter)
h <- highchart() %>%
hc_title(text = "Scatter chart with size and color") %>%
hc_add_series_scatter(mtcars$wt, mtcars$mpg) %>%
hc_exporting(enabled = TRUE)
h
当前结果:scatter with range = c(5, 40) at xlim
所需图:scatter with range = c(5, 35) at ylim
有人有想法吗?
最佳答案
正如Pierre Lafortune所说,答案是:
%>% hc_yAxis(max = 35)