e_add
when used with timeline feature see #165.Dynamic dependencies:
This greatly improves the performances of echarts4r which now loads much faster.
e_hide_grid_lines
to easily hide grid lines.e_map_register_ui
added to register a custom map in the Shiny UI, for faster serialisation.e_leaflet*
functions now correctly apply the roam
argument #147Bumped echarts JavaScript library to 4.6.0
, PR #121, also bumped echarts gl to 1.2.1
.
Every function that adds a serie to chart (e.g.: e_bar
) have been turned into methods that now can be applied to proxies (echarts4rProxy
), see the development vignette for more. This implies some minute changes to the echarts4rProxy
: nothing broken though.
e_axis_fomatter
if user uses RStudio, relates to #100e_radar_opts
when the timeline component was added.bind
argument added to e_heatmap
e_scatter_3d
correctly takes bind
argument when coords
is set to cartesian3D
(previously incorrect).e_remove_serie_p
to remove series from the graph.e_axis_labels
to easily place axis labels.e_resize
to dynamically resize the chart.e_map_register_p
works like a proxy but does not require a chart.e_mark*
family, labels and multiple marks correctly work.reorder
argument to specify whether to reorder numeric values. #126e_register_theme
to register a global theme, see #127.e_theme_custom
now accepts path to a JSON file.e_visual_map
drops NA
s.e_axis_stagger
function to stagger x axis labels.bind
argument has been fixed.e_tooltip_choro_formatter
tooltip formatter for choropleth maps added, thanks to Artem.e_mark_point()
, e_mark_line()
and e_mark_area()
no longer use grep()
, which means the serie will only be matched with the exact same name. Thanks @shrektan for the reporting and PR (#80, #81).e_title
now allowed.e_visual_map
in timelines is now fixed.e_sankey
fix thanks to Artem Klevtsov.draw
argument added to e_charts
, to set whether to draw the chart, see bullet below.e_draw_p
added to choose draw chart.e_inspect
to inspect the output of echarts4r.echarts_from_json
to create an echarts4r object from JSON options.e_axis
family 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 with e_visual_map
.e_charts
family forces data.frame conversion to avoid jsonlite bug.formatter
argument of e_tooltip
where passing custom function was not working.Support for timeline added
e_clean
removed as it was not of use anymore.e_list
added to pas raw list of options.e_color_range
helper.e_lm
& e_loess
now support group_by
.e_scattter
scaling much more robust with new arguments. Also not takes an optional symbol
argument.e_scatter
e_append
adapated to work with new scatter-family of function (scaling).e_lines_gl
added.e_map_regiter
.e_loess
and e_lm
to better work with groups.e_capture
to capture events not implemented.e_bands
to add confidence bands.e_color
.e_scatter
size forced to numeric to avoid buggy character vector caused by apply
function.webgl
rendering for e_globe
, e_scatter_gl
and e_flow_gl
.timeline = TRUE
.e_theme
now also accepts default
.auritus
theme added.bar.width
argument renamed to bar_width
in e_histogram
.e_map_3d
and e_map
correctly assign name
argument.e_tooltip_item_formatter
& e_axis_formatter
, thanks to Artem Klevtsov.e_error_bar
added to plot error bars.icons
in e_legend
.e_aria
added to enable generating Accessible Rich Internet Applications.Arguments containing .
have been replaced by _
for clarity. I.e.: coord.system
=> coord_system
.
Deprecated functions from 0.1.2
have been removed, they can be found in the echarts4r.assets package:
e_convert_texture
e_stars_texture
e_composite_texture
e_globe_texture
e_map_texture
The scatter
family of function has been reworked: the scale
argument now takes a scaling function. To accomodate to this, the e_visual_map
function also takes, optionally, a scaling
function. Retired e_keras_history
due to its uselessness.
e_labels
to easily add labels.e_mapbox
.e_scatter
.e_toolbox
.e_axis
(and corresponding e_x_axis
and e_y_axis
) bugs.e_add
added for nested data.e_showtip_p
and e_hidetip_p
fixed.e_focus_adjacency_p
and e_unfocus_adjacency_p
proxies to highlight adjacent nodes (on graph/network) added.e_single_axis
added, works with e_scatter
.e_text_style
added, to customise global fonts.e_angle_axis
now takes serie
argument, see example.e_common
to pass options that will apply to all subsequent charts.First iteration of the graphic low-level API:
g_graphic_g
g_group_g
g_image_g
g_text_g
g_rect_g
g_circle_g
g_ring_g
g_sector_g
g_arc_g
g_polygon_g
g_polyline_g
g_line_g
g_bezier_curve_g
Added actions that can be tied to buttons.
Added the ability to add buttons.
Added e_arrange
& e_connect
to connect charts interactions and visualise them together.
Better supprot for radial, angle, and polar charts.
Callbacks added e_on
and e_off
.
e_map_custom
added to work with custom registered maps.
e_datazoom
takes a toolbox
argument to optionally not the dataZoom
toolbox element.
Much improved documentation
e_map
and e_map_3d
no longer require the serie
argument.
e_mark_*
: The serie
argument of the mark family functions (i.e.: e_mark_point
) can now take a vector and if left NULL
the point is marked on all series.
Now available on CRAN
echarts4r
now understands dplyr::group_by
e_clean
to remove original data from visualisation and lighten up end product.e_keras_history
added - plot keras
history (loss & acc).e_format_axis
, e_format_x_axis
, e_format_y_axis
added - format axis labels & pointers.e_tooltip
now takes a default trigger = "item"
.e_flip_coords
added - to flip x/y corrdinates.e_register_map
fixed.renderer
argument added to e_charts
to enable SVG renderer.Added:
e_lm
, e_glm
and e_loess
.Initial version with chart types: