5
我想設置一個特定的範圍,我highcharter軸情節r - 如何在高座標圖中設置xlim和ylim範圍?
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
有沒有人有想法?
爲highcharter搜索中找到這個http://api.highcharts.com/highcharts/yAxis.max。所以你的情況'%>%hc_yAxis(max = 35)' –
完美!謝謝皮埃爾 –