Certain ggside
geometries have the capabilities to use
xfill/yfill
or xcolour/ycolour
in place of the
normal fill
and colour
aesthetics. This was
always meant to provide a separate aesthetic scale to color by. The
earlier version of ggside
failed to consider the case when
fill
/colour
was specified in the global
mapping, and the user passes a new data frame to the ggside
layer that excludes the quoted column. This has been addressed with #28
where if xfill/yfill
are specified, then the global
fill
aesthetic is ignored (as well for
xcolour/ycolour
and colour
). This fix,
however, has exposed a potential breaking change, meaning plots with the
following characteristics may not be exactly the same as compared to
earlier versions of ggside
(< 0.2.1) :
fill
or colour
is used in global
mappingxfill/yfill
or xcolour/ycolour
(respectively) is used in a ggside
layerHow this would have worked in the past is that the computed mapping
groups would be made on both aesthetics, but only filling or coloring by
the ggside
aesthetic. Now, the layer will only fill or
color by the ggside
aesthetic - potentially reducing the
number of groups made by the plot.
ggside()
gains a strip
argument, allowing
for facet_grid
to plot strips on the main panels as opposed
to the default of the side panels. Addresses issue #26geom_(x|y)side*
variants
geom_xsidefunction()
,
geom_ysidefunction()
geom_xsideline()
, geom_ysideline()
geom_xsidelabel()
, geom_ysidelabel()
stat_xsidefunction()
and
stat_ysidefunction()
were added to accompany
geom_(x|y)sidefunction
. This seemed to be a special case in
which a stat variant was also needed.geom_abline()
, geom_hline()
, and
geom_vline()
will no longer cause errors when used on a
ggside
object that has
facet_wrap()/facet_grid()
in place. Addresses issue #3?ggside-theme
for more details. Addresses Feature request
#10.ggside
now also modifies
the Coord
object. Currently only
CoordCartesian
, CoordFixed
and
CoordTrans
are supported for ggside
.ggside
: draw_x_on
and draw_y_on
which will allow the user to specify if the
respective axis should be rendered on the main panel or the side
panel.ggplot2::ggplot_add()
into
ggside
such that ggside
methods were available
to ggplot2
calls. Addresses issue #24.XLayer
and YLayer
to rely less
on ggplot2
internal Layer
class. Hopefully
fixing issue users may experience between ggplot2 (3.3.2)
and ggplot2 (3.3.5)
. Addresses issue #23.ggplot2::facet_wrap()
or
ggplot2::facet_grid()
. Addresses issue #20.geom_xsidetext()
was using the
incorrect Geom
parameter. Addresses issue #19.colour/color
/fill
appear in guides when used as params
instead of an
aes()
mapping. Now these aesthetics, and their
x/y
variants should behave like ggplot2
API.
Addresses issue #12.ggside
should now work better with the
patchwork
package. Addresses issue #13.ContinuousScaleDate
. Extended better
control to XLayer
and YLayer
to pull scales
from the proper panels instead of using the prototype scales on
plot$scales
. Addresses issue #11.geom_*side*
have better default calling
behavior. See vignettes("ggside_aes_mapping")
for more
details.xsidey
will affect the y-axis of the xside panel, and
ysidex
will affect the x-axis of the yside panel.
scale_xsidey_continuous
scale_xsidey_discrete
scale_ysidex_continuous
scale_ysidex_discrete
geom_*sidebar
geom_*sideboxplot
geom_*sidecol
geom_*sidedensity
geom_*sidefreqpoly
geom_*sideline
geom_*sidepoint
geom_*sidesegement
geom_*sidetile
geom_*sideviolin
geom_*sideviolin
was not returning
ggside_layer
classvignette(ggside_basic_usage)
‘How its done’
section headers