vistime 1.3.0
CRAN release: 2026-03-28
New features
-
vistime()passessourceandcustomdatato plot for interactivePlotlyclick or hover events in Shiny (closes #34, thanks @jonocarroll). -
col.colorargument can now also refer to a categorical column, not a column containing color names or codes. This way, you can color the plot by a given column without providing explicit colors (closes #20).
vistime 1.2.3
CRAN release: 2022-10-16
- keep group column order in case of factors (otherwise groups appear in order of appearance) (closes #27, thanks @kelly-sovacool)
vistime 1.2.2
Bugfixes
- added
markdowndependency for vignette building as per yhui/knitr#1864
vistime 1.2.1
CRAN release: 2021-04-10
Bugfixes
-
hc_vistime()labels on y-axis were incorrectly reversed (#24)
vistime 1.2.0
CRAN release: 2021-02-19
Bugfixes
-
optimize_y = TRUEdid not work correctly for ranges that occur during other ranges (issue #22)
New features
- Added mouse zooming capability to
hc_vistime() - Split the
README.mdinto three vignettes:
Minor adjustments
- Updated documentation
- Internals:
- Using the
assertive.typespackage instead ofassertthatfor nicer error messages - Upgraded to
testthat 3.0for unit tests - Bugfixes for
hc_vistime()arguments
- Using the
vistime 1.1.0
CRAN release: 2020-07-25
Breaking Changes
- Made arguments more intuitive:
-
col.eventinstead ofevent -
col.startinstead ofstart -
col.endinstead ofend -
col.groupinstead ofgroups -
col.colorinstead ofcolors -
col.fontcolorinstead offontcolors -
col.tooltipinstead oftooltips
-
New features
- New function
hc_vistime(): Create an interactive timeline rendered by the greatHighcharter.jslibrary
Minor adjustments
-
gg_vistime():- Use
geom_text()for labels - Avoid overlapping of event labels using
ggrepel::geom_text_repel() - Layout adjustments: Panel border and changes under-the-hood
- Use
-
vistime():- Changes under the hood (vertical and horizontal lines)
- Panel border
- Usage of package
assertthatand re-organization of dependencies
vistime 1.0.0
CRAN release: 2020-04-17
Breaking Changes
-
vistime()no longer uses cumbersome Plotly-subplots. Everything renders in the same plot and can be zoomed seamlessly. - Events are drawn from top to bottom (not from bottom to top) - always in the order of the input data frame (per groups that are arranged from top to bottom). This makes the result more intuitive: ¯—-_-_ instead of _-_-—¯
New features
-
gg_vistime()as new function to output the timeline as a static ggplot (in addition tovistime(), which outputs an interactive Plotly object). -
vistime_data()as new function to output the cleaned and optimized timeline data for your own plotting experiments.
vistime 0.9.0
CRAN release: 2020-01-09
- Fixed bug for plots having more than 9 groups - in these cases the order was not the same as in the input data frame
- New argument
optimize_y(default:TRUE)- If
optimize_y = TRUE, use heuristic to optimally distribute events on y axis - If
optimize_y = FALSE, use fixed order on y axis according to input data
- If
- Relaxed package dependencies: (e.g.
plotlyonly Imports, not Depends)
vistime 0.8.1
CRAN release: 2019-03-24
- Hotfix: due to new Plotly version, colors and fontcolors handling was broken. Changed dependency to Plotly > 4.0.0.
vistime 0.8.0
CRAN release: 2019-03-03
- Internals (no exporting of helper functions, unit tests using
testthatpackage, continuous integration usingtravis, test code coverage usingcovr) - Activated Github Page: https://shosaco.github.io/vistime/
- Argument
showLabelshas been renamed toshow_labelsfor consistency. A deprecation message is shown.
vistime 0.7.0
CRAN release: 2019-01-04
- We have a vignette now
- Events and ranges that are in the same group are now plotted directly below each other (in the past, all ranges were plotted first, followed by all events). Groups are sorted in order of first appearance but all items of one group are plotted together.
- Argument
lineIntervalis now deprecated. It was replaced by the new, more intuitive argumentbackground_lines- the number of lines to draw in the background. - Remove leading and trailing whitespaces of events and groups before drawing
vistime 0.6.0
CRAN release: 2018-10-28
- Hotfix for broken y-axis labeling (introduced through new plotly package 4.8.0.)
- Events are now shown as circles (was: squares)
- Corrected font colors of Presidents example on help page
vistime 0.5.0
CRAN release: 2018-04-15
- Added a new argument
showLabelsto choose whether or not the event labels shall be drawn - improves layout of dense timelines - New argument
lineInterval: the distance in seconds that vertical lines shall be drawn (to reduce plot size and increase performance). When omitted, a heuristic (as before) is used. - Improved heuristic of vertical line drawing
vistime 0.4.0
CRAN release: 2017-06-03
- Line width calculation for ranges improved (thicker lines if less events happening simultaneously)
- New parameter:
linewidthto override the calculated line width for events - Layout and labeling improvements
- Simplified examples
- Improved error checking
vistime 0.3.0
CRAN release: 2017-02-12
- New parameters:
-
title(a title for the timeline) -
tooltips(column name of data that contains individual tooltips) -
fontcolors(column name of data that contains color of the event font)
-
- Ordering of groups in plot is now the same as the order of “groups” column in data
- Added more complex example and removed school data/example
- Changed
colorsargument default to “color” (i.e. if a columncoloris present in your data, it will be used for coloring the events) - Bugfix if data contains only one event
- Bugfix where events where not correctly categorized into their respective groups
- Improved error checking
- Improved drawing of vertical lines for certain ranges
- Major improvement of intelligent levelling of ranges (_-_¯-—)
