我试图在我的高潮图轴图中设置一个特定的范围
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
有没有人有想法?
答案 0 :(得分:4)
正如Pierre Lafortune评论的那样,答案是:
%>% hc_yAxis(max = 35)