- enable build in Alpine linux, thanks to Sebastian Meyer.
geom_line_interactive()
now correctly assigns data_id and tooltip values
- defunct
ggiraph()
,ggiraphOutput()
andrenderggiraph()
.
girafeOutput()
argumentheight
now defaults to NULL. Setheight
to "500px" to recover previous disposition.
- fixed size is now defined within style in inches, the size is now as expected.
- support trailing commas everywhere
- girafe toolbar can now be fixed instead of floating. This feature can be
defined with
opts_toolbar(fixed = TRUE)
.
- adapt guides to ggplot '3.5.0'
- deprecate ggiraph
- A font check is now done with theme settings (only when argument
ggobj
is used)
- When
bg
is set to 'transparent', it's been transformed to almost transparent '#ffffff01'. - Enable screen-readers to read items - set svg role to 'graphics-document'
- Fix issue with interactive points when shapes with lines are used (#252).
- correct
Rf_error("... (%S)", note);
toRf_error("... (%s)", note);
- deprecation of
ggiraph()
,ggiraphOutput()
andrenderggiraph()
.
- grid makeContext for CRAN check
- drop cpp11 requirement
- Function
girafe()
gains new argumentdependencies
that pass additional widget HTML dependencies tohtmlwidgets::createWidget()
.
- Fix missing inclusion of in
src/raster.cpp
.
- Make girafe_options() more robust to changes in htmlwidgets::sizingPolicy()
- Added tooltips argument to opts_toolbar for internationalization purposes
- Added hidden argument to opts_toolbar for hiding buttons/button groups
- Added zoom by rectangle feature and zoom related improvements
- New feature: hover nearest element on mouse movement
- Improved javascript performance (mouse event handling)
- Added interactive parameters for outlier points in geom_boxplot_interactive
- Added accessibility elements to the SVG output (title, desc, role)
- Added opts_selection_inv for inverted selection effect
- Added
set_girafe_defaults()
,girafe_defaults()
andinit_girafe_defaults()
to set some default girafe options automatically. Also in R Markdown, svg default width and height are set to knitr chunk optionsfig.width
andfig.height
.
- fix: issue with incorrect font used on png export
- fix: issue with broken interactivity on discrete guides
- fix: issue with geom_segment_interactive and polar coords
- fix: set fill/stroke color to svg elements even if opacity is zero.
- fix: hover styles should take priority over selection styles.
- doc: updated documentation links
- test: updated some tests to check for required packages
- test: updated github actions
- Update internals for 'ggplot2' version
3.4.0
. - Now
facet_wrap_interactive()
orfacet_grid_interactive()
need to be used to let the facets be interactives (see alsolabeller_interactive()
).
- fix: update Rd content to produce valid HTML5 (for CRAN manuals now using HTML5 format).
- fix linetype when line size is less than 1 (#216).
- fix a length-1 issue in inst/tinytest/test-fonts.R
- skip test
test-zz-dom.R
when 'PhantomJS' is not installed - skip tests
test-interactive_text_grob.R
andtest-fonts.R
when no font is detected on the system.
- Updated DSVG device version to 14
- Added support for clipping paths, masks, gradients and patterns
- Implemented new version of internal DSVG device
- Refactored cpp code, to smaller files per context
- Added tests for tinytest & improved coverage
- New geom functions:
geom_violin_interactive
,geom_label_repel_interactive
,geom_text_repel_interactive
,geom_contour_filled_interactive
,geom_hex_interactive
,geom_spoke_interactive
,geom_curve_interactive
,geom_count_interactive
,geom_bin_2d_interactive
,geom_density_2d_filled_interactive
. - New grob functions:
interactive_curve_grob
. - New scale functions:
scale_alpha_binned_interactive
. - Added
outputArgs
argument torenderGirafe
, for controlling svg dimensions in rmarkdown - Demote to warning the error case of setting svg attributes because of mismatched id's.
- Added support for custom interactive parameters via
extra_interactive_params
argument - Miscellaneous refactorings & improvements to internal code
- Updated
tinyxml2
to version9.0.0
- Switched to
tinytest
for testing - Updated dependency for
ggplot2
to version3.3.5
. - Updated libs for Windows build (thanks to Jeroen Ooms)
- Fixed
interactive_text_grob
when check.overlap = TRUE - Fixed
interactive_points_grob
interactive attributes when shapes with lines are used - Fixed issues for
geom_errorbar_interactive
- Fixed some typos in documentation
- Handle NA's in
GeomInteractiveTile
- Make sure that parameters for panel_draw|group are the same as in ggplot2
- Updated labeller_interactive so that its usage is more intuitive
- Updated geoms and utils from latest ggplot2
- drop configure script and mimic svglite way of integrating libpng
- New function
geom_dotplot_interactive
. - New function
labeller_interactive
to make strip labels interactive.
- Improved tooltip positioning and added 'placement' parameter
- Added 'tooltip_fill' interactive attribute
- move font management from gdtools to systemfonts, also libpng
is now required as gdtools/cairo is not used anymore. It comes also
with functions
validated_fonts()
and alsomatch_family()
andfont_family_exists()
that have been copied from package gdtools. - Updated some geometries from latest ggplot2
- Fixed issue with tooltip fill color in geom_label_interactive
- Fixed tooltip issues (scaling and markup decoding) in xaringan
- Fixed issue with tooltip css missing zindex and pointer-events
- update for changes in the R graphics engine (thanks to Dr Paul Murrell)
- set max size in shiny to shinyOutput size
- Updated geoms to ggplot2 v3.3.0
- Added new scales and guides from ggplot2 v3.3.0
- Using tinyxml2 for creating the svg doc
- Refactoring of ggiraphjs, with separate modules for each action context
- Added shiny messaging for hovered elements
- Added opts_hover_inv for inverted hover effect
- Added parameter for exported png filename and set png quality to 1
- misc fixes in interactive geom internals
- Added a complete shiny example (gender) for selection/hover options/tricks
- refactoring of internals
- new function
girafe_css()
to define individual css properties per type of elements - ability to add interactivity to panel as usual but also theme and scales now
- Upgrade geoms to ggplot2 v3.2.0 (thanks for this huge work kindly made by Panagiotis Skintzos)
- tooltip will always be displayed inside the SVG area (for small devices)
- Upgrade geoms to ggplot2 v3.2.0 (thanks for this huge work kindly made by Panagiotis Skintzos)
- Handle html entities in tooltip
- fix some differences of rendering between ggplot2 pure graphs and girafe output (#125)
- new
annotate_interactive
function.
- improving sizing with shiny.
- The package is no more importing rvg and now need a compiler to install the package from source. The dsvg function will be then removed from rvg.
- the package offers now new functions
girafe()
andgirafe_options()
to be used instead of functionggiraph()
. It is more convenient to use when customization is needed.
- add a 'download as png' button
- usage of d3 version 5.7.0
- responsive behaviour when rendered in IE <= 12 is now fixed
- new functions
geom_sf_interactive
- new functions
geom_hline_interactive
andgeom_vline_interactive
implemented by Eric Book. - all element with the same data_id are highlighted when mouse is over one of these elements.
- ggproto
GeomInteractive
are exported.
- ggiraph has a new argument
dep_dir
that controls the location of the output files. - deprecation of argument
use_widget_size
andflexdashboard
. I hope this is the last mention to theses in the NEWS file.
- argument
flexdashboard
andwidth
are no more deprecated... - ggiraph gains a new argument
use_widget_size
that force usage of htmlwidget size and block the responsive behavior.
- lasso selection has been implemented in Shiny context
- a toolbar for zooming and selecting elements has been implemented.
- zoom is disabled by default and can be activated via a button in the toolbar. It prevents scrooling issue (mouse over a zoomable svg steals scroll ability within the document).
- ggiraph arguments
flexdashboard
andwidth
are now deprecated and have no effects
- widget sizing has been improved and ggiraph function gains new argument
flexdashboard
to make sure the graph fits available room.
- warnings did occur because some default_aes of ggproto were missing
- slow zoom pan effect is now solved
- new geometry: geom_tile_interactive
- fix for element selection: svg elements with same id were not all selected but the only element that was clicked
- fix css issues that occured when several ggiraph were on the same page and their tooltip did not share the same css attributes.
- link to the online documentation.
- usage of d3.js V4
- size management has been improved
- there are 3 new geometries: geom_boxplot_interactive, geom_line_interactive and geom_bar_interactive.
- addCustomMessageHandler has to be called once to avoid a javascript exception
- fix display issue in RStudio viewer for Windows
- Allow zooming & panning to be turned off
- clicked elements can now be tracked from shiny
- Migration to d3.js
- Update to htmlwidgets 0.6