【发布时间】:2022-01-09 05:32:59
【问题描述】:
当悬停在时间序列上时,我试图在十字准线工具提示上标记所有系列数据点。这是我目前拥有的:
library(highcharter)
highchart() %>%
hc_chart(
type = "container", zoomType = "x") %>%
hc_xAxis(type = "datetime") %>%
hc_xAxis(
tickLength = 0,
crosshair = TRUE
) %>%
hc_yAxis(
tickLength = 0,
crosshair = TRUE
) %>%
hc_add_series(
type = "line",
data = airmiles
) %>%
hc_add_series(
type = "line",
data = airmiles/2
)
这是我想要的(或类似的):
谢谢!
【问题讨论】:
标签: r highcharts r-highcharter