Releases: best-practice-and-impact/afcharts
afcharts 0.5.1
-
Updated the
sequentialcolour palette to add two new shades (darkest-blueandlightest-blue).
This means that thesequentialpalette can now be used to represent five categories, such as deprivation quintiles. -
Renamed
na_colourargument ofscale_colour_continuous_afandscale_fill_continuous_aftona.value. This was necessary to enableuse_afchartsto work with ggplot2 v4.0.1. Addedna.valueargument toscale_colour_discrete_afandscale_fill_discrete_af. -
use_afchartsgains aresetargument to turn off analysis function styling of charts. -
theme_afnow uses theme options set by earlier calls ofuse_afchartsby default. #51 -
Set the
maincolour palettes tocategorical. The Scale_*_discrete_af functions now use the 6 colour cateogrical palette by default, rather than the 4 colour. -
Added
af_dark_blue,af_orangeandaf_greyto give easier access to the hex codes of these colours. -
Added arguments
axis_textandaxis_titleto functiontheme_afto set
whether to show axis titles and labels. -
Added argument
legend_titleto functiontheme_afto set whether to show
legend titles. -
The
legendargument oftheme_afnow accepts a legend justification e.g. 'top-right', 'left-centre' #47
afcharts 0.4.1
-
Fixed bug which prevented some functions from working if called directly without attaching the package.
-
Fixed bug in
use_afchartswhen passing args totheme_af. -
scale_colour_discrete_afandscale_fill_discrete_afnow inform rather than warn when themain2colour palette is used instead ofmainif only two colours are required.
afcharts 0.4.0
First release of package based on sgplot.