首页 > 解决方案 > 如何在timevis中显示全部内容?

问题描述

如果一个时间窗口比较短,内容比较长,timevis只会显示一个smart部分。我可以将其设置endNA显示所有内容,但我也想显示时间线。

data <- data.frame(
  id      = 1:4,
  content = c("Item one"  , "Item two"  ,"Ranged item", "Item four"),
  start   = c("2016-01-10", "2016-01-11", "2016-01-20", "2016-02-14 15:00:00"),
  end     = c("2016-01-11","2016-01-12", "2016-02-04", NA))

#Item one and two are not fully displayed
timevis(data) 

我正在为不同的成员整理一份旅行日历。如果有其他更好的 R 包可以满足此需求,请告诉我。

标签: rtimeline

解决方案


推荐阅读