Releases: JohnCoene/echarts4r
Releases · JohnCoene/echarts4r
v0.4.6
echarts4r 0.4.6
What's Changed
- Pgkdown Fix les_miserables.json by @munoztd0 in #544
- fix: 🐛 build graph edges was broken by @munoztd0 in #547
- docs: 🐛 fix e_calendar broken example with mtcars by @munoztd0 in #548
- Fix candle sticks invertion by @munoztd0 in #556
- feat: ✨ add possibility to Whether to wrap pure JS functions… by @munoztd0 in #561
- Documentation: implementing a static grid for small charts by @Mkranj in #564
- Update nesting.R by @rdatasculptor in #579
- feat: logic to split grouped tidytable by @teofiln in #584
- feat: allow setting node XY coordinates when layout="none" by @teofiln in #599
- docs: 📝 rebuild pkgdown with updates and added the new .gif path… by @munoztd0 in #607
- feat: edge color by variable by @teofiln in #614
- docs: fix e_histogram example code by @jhk0530 in #618
- typo in opts.R by @luisDVA in #634
- Update small typo in grid.R - e_area arguments incorrect by @aarong1 in #656
- Quickfix docs by @aarong1 in #662
- rhub v2 by @munoztd0 in #664
- Fixed missing package anchors in Rd files as requested by CRAN by @munoztd0 in #663
- Cran release 4.6 (#666) by @munoztd0 in #667
New Contributors
- @teofiln made their first contribution in #584
- @jhk0530 made their first contribution in #618
- @luisDVA made their first contribution in #634
- @aarong1 made their first contribution in #656
Full Changelog: v0.4.5...v0.4.6
echarts4r 0.4.5
Theme fix
Facet
Fixes
- Apply mark to all series in timeline, fixes #290
- Bump ECharts.js
- Add
e_svgfamily of functions to fix #319 - Replaced magrittr pipe
%>%to R native's|>. - Fix
e_mapwhen used with no data, map was not displayed - Fix
e_flip_coordswith boxplots (and other single column series) see #336 - Fix
e_addapplied to timeline, see 338
Boxes
echarts4r 0.3.3
- Added
echarts4rBox,renderEcharts4rBox, andecharts4rBoxOutputto create value boxes. - Fix
e_commontheme, was no longer applied due to dynamic dependencies introduced in0.3.2 - Fix
e_flip_coordsfor timeline feature, see #166 nameargument was not used ine_boxplot, see #171- Allow customising area under the curve of density plot see #172
- Update mapbox dependency from
0.38to1.11 - Fix country name conversion in
e_country_names#189 - Fix legend toggle in radar charts #74
e_loess, ande_lmtake amodel_argsargument to pass arguments to underlying model function #194- Bump to JavaScript version to
4.9.0 echarts_from_jsonsupports functions, see 199 (thanks to swsoyee)- Remove
e_facet, was wrongly exported #212 - Add tests, thanks to Etienne Bacher, see #201
- Add styler, thanks to Wei Su see #211
- Removed the {d3r} import: no longer necessary.
Shiny
All changes since last CRAN release are below.
Notable Changes
-
Loads (much) much faster
-
Works amazingly with Shiny, see docs
-
Bump echarts.js to 4.8.0 and echarts-gl to 1.1.2
-
Fix
e_addwhen used with timeline feature see #165. -
Bump echart.js to 4.8.0 now in english (no longer chinese.
Dynamic dependencies:
- themes
- leaflet
- mapbox
- wordcloud
- liquidfill
- world.js (underlying world map for e_geo and e_map)
- error bars (custom renderer)
This greatly improves the performances of echarts4r which now loads much faster.
- Added convenience
e_hide_grid_linesto easily hide grid lines. e_map_register_uiadded to register a custom map in the Shiny UI, for faster serialisation.e_leaflet*functions now correctly apply theroamargument #147- Internals changes for dplyr >= 0.7.0
- Correct bug in boxplot thanks to Matthias in issue #163 for the fix.
- Avoid page breaks on PDF, see #159, thanks Steve.
- Warning in
e_axis_fomatterif user uses RStudio, relates to #100 - Fixed #98 where a bug was introduced in
e_radar_optswhen the timeline component was added. bindargument added toe_heatmape_scatter_3dcorrectly takesbindargument whencoordsis set tocartesian3D(previously incorrect).- Bumped number of built-in themes to 40+.
- Added
e_remove_serie_pto remove series from the graph. - Added
e_axis_labelsto easily place axis labels. - Added
e_resizeto dynamically resize the chart. - Added
e_map_register_pworks like a proxy but does not require a chart. - Fixed a few issues with
e_mark*family, labels and multiple marks correctly work. - Initialisation function now take
reorderargument to specify whether to reorder numeric values. #126 - Added
e_register_themeto register a global theme, see #127. e_theme_customnow accepts path to a JSON file.e_visual_mapdropsNAs.- Added
e_axis_staggerfunction to stagger x axis labels.
Bug fixes
Small release bringing many bug fixes
- Bar chart's
bindargument has been fixed. e_tooltip_choro_formattertooltip formatter for choropleth maps added, thanks to Artem.- Tooltip formatters correctly identify locale on UNIX systems, thanks to Artem.
e_mark_point(),e_mark_line()ande_mark_area()no longer usegrep(), which means the serie will only be matched with the exact same name. Thanks @shrektan for the reporting and PR (#80, #81).- Multiple
e_titlenow allowed. - Multiple
e_visual_mapin timelines is now fixed. - Corrected all links (or so I think).
e_sankeyfix thanks to Artem Klevtsov.- Many dependencies removed, it is now much easier to install.
Optimization
- Ability to add multiple
e_title. drawargument added toe_charts, to set whether to draw the chart, see bullet below.e_draw_padded to choose draw chart.e_inspectto inspect the output of echarts4r.echarts_from_jsonto create an echarts4r object from JSON options.e_axisfamily of functions (e.g.:e_x_axis) now accepts a column name as first argument to easily adapt the range of the axes, in a similar fashion as withe_visual_map.e_chartsfamily forces data.frame conversion to avoid jsonlite bug.- Fixed bug in the
formatterargument ofe_tooltipwhere passing custom function was not working.
Timeline
Support for timeline added
e_cleanremoved as it was not of use anymore.e_listadded to pas raw list of options.- Improved
e_color_rangehelper. e_lm&e_loessnow supportgroup_by.e_scattterscaling much more robust with new arguments. Also not takes an optionalsymbolargument.- Jitter points with
e_scatter e_appendadapated to work with new scatter-family of function (scaling).e_lines_gladded.- Improved examples.
- Can now register multiple maps with
e_map_regiter. - Error handling in
e_loessande_lmto better work with groups. e_captureto capture events not implemented.e_bandsto add confidence bands.- Added example of heatmap with geo.
- Fixed bug where the background color was not applied with
e_color. e_scattersize forced to numeric to avoid buggy character vector caused byapplyfunction.- Forces
webglrendering fore_globe,e_scatter_glande_flow_gl. - Groups are now ordered in order to ensure match across series when using
timeline = TRUE. e_themenow also acceptsdefault.auritustheme added.bar.widthargument renamed tobar_widthine_histogram.e_map_3dande_mapcorrectly assignnameargument.- Axis and tooltip formatters helpers added
e_tooltip_item_formatter&e_axis_formatter, thanks to Artem Klevtsov. e_error_baradded to plot error bars.- Ability to specify
iconsine_legend. e_ariaadded to enable generating Accessible Rich Internet Applications.