Releases: anders-biostat/rlc
v 0.5.0
-
The package is now base on the current D3 version (v7.8.5) rather then the outdated one (v4.10.0)
-
listen function (a wrapper around
httpuv::serviceorlater::run_now) added for more convenient use of RLC apps in Jupyter Notebooks. -
Bug with saving plots as png in Firefox fixed.
-
Marking behaviour in heatmap changed: consecutive selection of cells now only adds to the list of marked cells.
-
Some minor bug fixes.
New lc_input properties, styling and bug fixes
-
lc_inputnow hasfontSize,nrowsandncolsproperties, bugs with assigning labels to wrong check boxes/radio buttons fixed. -
lc_heatmapnow hasvalueTextColourproperty, also the way how text values are shown (textValue = TRUE) is changed. -
in heatmaps, marked cells are now highlighted differently to make them more visible.
-
elementsargument in themarkfunction is now optional. -
RGBA colours are now accepted (for example, in
paletteargument), however, the value of alpha is ignored. -
onlyServerargument added to theopenPagefunction to prevent opening a browser tab. -
A bug that caused restarting a local server multiple times fixed.
-
minor styling changes.
Legend properties and bug fixes
-
A set of properties to control charts' legends added:
legend_width,legend_height,lgend_sampleHeight,legend_ncol,legend_container. -
Property
informTextadded. It allows to specify the content of the tooltip text for each element. -
data.frames and lists provided to the
withargument are no longer re-evaluated automatically. By default, they are considered static. To treat them as dynamic arguments, they should be put inside thedatfunction. -
Some styling changes.
Bug fixes
-
on_clickPositionno longer adds an extra 1 to the reported values -
lc_inputvalues no longer get stuck -
In the table layout, unnecessary D3 data are no longer propagated to the children elements.
-
on_clickfor histograms now gets a proper index value. -
NAs values for
lc_inputdon't cause problems anymore. -
Issue with colour scale get stuck in the legend fixed.
Adding static plots and clicks on the background
rlc 0.3.0
-
New function
lc_imageadded. It can add to the web page a graphic R object or a locally stored image. -
All charts now have a
withargument, that allows to specify adata.framewhich columns can be used as variables. -
Charts with axes now have
on_clickPositionargument. It is a callback function, that receives a position of any click
relative to current axes scales. -
function
marknow hasclearargument which, ifTRUEunmarks all previously marked elements. -
pacerStepargument now is also added to lines. -
Legends no longer have default titles.
-
Now callback functions can access variables
.chartIdand.layerId -
Some changes in stylesheet.
-
mouseout event also uses pacer that prevents overqueuing
-
Various bugs fixed.
Multiclient server apps
-
It is possible now to create server apps that can be accessed by multiple users simultaneously. To this end, one should use arguments
sessionVars,beforeLoadandafterLoadof theopenPagefunctions.sessionVarsdefines local variables with their default values
for each client,beforeLoadandafterLoadare callback functions that are called once for each new web page. Other than that, there are
no differences between creating anrlcapp locally or on a server. -
rlchas been restructured so that the entire app is now stored inside a singleR6object of classLCApp(see man pages for more details). -
Property
axesTitlePosadded for all the charts that have axes. This property allows to place axis labels above or below the x-axis
(to the left or to the right from the y-axis) and at the end, in the middle or next to the start of the axis. -
Now scatter plots in canvas mode also have ticks that indicate presence of points outside of the current axes range.
-
NAs are correctly processed.
-
Bug with mispositioning a click in Firefox v.70 fixed.
Initial release
v0.1.0 readme updated to indicate rlc is on cran