New function lc_image
added. It can add to the web page a graphic R object or a locally stored image.
All charts now have a with
argument, that allows to specify a data.frame
which columns can be used as variables.
Charts with axes now have on_clickPosition
argument. It is a callback function, that receives a position of any click relative to current axes scales.
function mark
now has clear
argument which, if TRUE
unmarks all previously marked elements.
pacerStep
argument now is also added to lines.
Legends no longer have default titles.
Now callback functions can access variables .chartId
and .layerId
Some changes in stylesheet.
mouseout event also uses pacer that prevents overqueuing
Various bugs fixed.
New argument with
in all the plotting functions. This argument allows to provide a data table, that will be used to evaluate properties.
Most legend titles are omitted if not defined.
Bug with mispositioning a click in newest versions of Firefox fixed… again.
It is possible now to create server apps that can be accessed by multiple users simultaneously. To this end, one should use arguments sessionVars
, beforeLoad
and afterLoad
of the openPage
functions. sessionVars
defines local variables with their default values for each client, beforeLoad
and afterLoad
are callback functions that are called once for each new web page. Other than that, there are no differences between creating an rlc
app locally or on a server.
rlc
has been restructured so that the entire app is now stored inside a single R6
object of class LCApp
(see man pages for more details).
Property axesTitlePos
added 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.