No major changes. Some minor changes are made on documents.
Fix a bug: in loon
1.3.9, as a loon
widget is transformed to a grid
object (i.e., loonGrob
), once all points' plotting states are the same, they will be set as a scalar (e.g., col = "black"), rather a vector (e.g., col = ["black", "black", ...]), to reduce the memory consumption. However, in the previous loon.shiny
versions, we only treat aesthetic attributes as vectors.
Fix two bugs:
once a layer is removed, the names of the rest layers should remain.
once a layer is removed, the region should be adjusted (world view is changed)
For facets (l_facet_grid
, l_facet_wrap
and l_facet_ggplot
), the labels of each panel can be displayed. The selection for each panel works well.
Item labels (querying): a checkbox itemLabels
is added on the inspector. If it is checked, pause the mouse on top of a point, a toolbox showing the detailed information of this point will be displayed. The size of the toolbox is determined by the argument toolboxWidth
and the location is determined by the argument toolboxLocation
.
"clean" the code, i.e. representing variables with Camel case and functions with underscore case; give more meaningful names; remove hacks, etc.
make the logic in server function more intuitive
remove redundant/unnecessary computations
function shiny.loon()
--> function loon.shiny()
new argument displayedPanel
: The default is an empty string ""
so that none inspector components (Plot
, Linking
, Select
, etc) are open automatically. The available strings are c("Plot", "Select", "Linking", "Modify", "Layer", "Glyph")
Transparency can be adjusted for points
Date of Birth: 2021-05-10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.