Winston Chang
652fcfe799
First implementation of bindCache() for renderPlot()
2020-11-16 10:59:25 -06:00
Winston Chang
9c915e52ca
Add get_quosure function
2020-11-12 23:45:23 -06:00
Winston Chang
509f0790db
Reactive functions don't unwrap quosures automatically
2020-11-12 17:10:49 -06:00
Winston Chang
c43bc195e7
Use cacheHint
2020-11-05 14:25:19 -06:00
Winston Chang
638bcc0f85
Mark some render functions as uncacheable
2020-11-03 13:12:23 -06:00
Winston Chang
81824575e6
Use consistent interface for preserving visibility
2020-10-22 00:01:32 -05:00
Winston Chang
8640934410
Move alt parameter after ...
2020-08-31 16:28:43 -05:00
JooYoung Seo
19da003291
Redocumented for alt param
2020-08-18 17:19:45 -04:00
JooYoung Seo
f0765e3d6a
Updated alt param description
2020-08-18 17:05:47 -04:00
JooYoung Seo
ce101843f0
Made alt param reactive
2020-08-18 15:43:04 -04:00
JooYoung Seo
28cffb2e25
Update R/render-plot.R
...
Co-authored-by: Barret Schloerke <barret@rstudio.com >
2020-08-18 14:24:08 -04:00
JooYoung Seo
d2d169fea3
Update R/render-plot.R
...
Co-authored-by: Barret Schloerke <barret@rstudio.com >
2020-08-18 14:23:17 -04:00
JooYoung Seo
a5eb1b15d2
Added alt param
2020-08-16 16:11:18 -04:00
Carson
391bbaa73b
Do the same when replaying plot
2020-07-14 13:45:34 -05:00
Carson
fed96c0e45
Include the pixelratio when setting showtext dpi
2020-07-14 13:45:34 -05:00
Carson
5d4855f86c
comments
2020-05-05 12:26:58 -05:00
Carson
210792397d
code review with Winston
2020-05-01 16:20:15 -05:00
Carson
dd1c653365
Rollback the custom device arg (may come later) in favor of a shiny.useragg option
2020-04-30 17:50:19 -05:00
Carson
a05f713e26
code review with Barret
2020-04-30 17:50:19 -05:00
Carson
dfb492493c
Provide a device argument to renderPlot() and plotPNG()
2020-04-30 17:50:19 -05:00
Carson
89d6a3d91a
User-supplied bg to renderPlot should take 1st priority
2020-04-30 17:50:19 -05:00
Carson
393d4163c8
Auto-theming interface will come from thematic
2020-04-30 17:50:19 -05:00
Carson
5855aa2689
First pass at an auto-theming interface
2020-04-30 17:50:19 -05:00
Carson
4e59f55f11
wip font support
2020-04-30 17:50:19 -05:00
Carson
b269487a47
port auto-theming logic to new thematic package
2020-04-30 17:50:19 -05:00
Carson
dce4028786
sequential colorscale now mixes fg/bg with accent (for the endpoints)
2020-04-30 17:50:19 -05:00
Carson
819ad4c770
newpage should always come before ggplot_build
2020-04-30 17:50:19 -05:00
Carson
b10b6d4833
default to bg='white', not transparent
2020-04-30 17:50:19 -05:00
Carson
a3d224beaf
suggest scales; other R CMD check things
2020-04-30 17:50:19 -05:00
Carson
4c8ec8befe
allow autoTheme options to be reactive
2020-04-30 17:50:19 -05:00
Carson
0692334a27
cleanup
2020-04-30 17:50:19 -05:00
Carson
be912cf2ce
Set default scales via plot_env for old ggplot2 and options for new ggplot2
2020-04-30 17:50:19 -05:00
Carson
f942c088ec
mix colors using scales::colour_ramp
2020-04-30 17:50:19 -05:00
Carson
330da2dcbb
code review feedback; introduce autoThemeOptions()
2020-04-30 17:50:19 -05:00
Joe Cheng
afad0395ff
Use htmltools::parseCssColors
2020-04-30 17:50:19 -05:00
Carson
ecd72f1bc0
Add sequential colorscale for ggplot2 based on the accent color
...
Also, some R CMD check fixes and other cleanup
2020-04-30 17:50:19 -05:00
Carson
867daeead7
Add accent (link) color and qualitative color palettes
...
Also, improved approach to adjusting various defaults based on fg/bg/accent
2020-04-30 17:50:19 -05:00
Carson
a20c3a397e
make sure ggplot_apply_auto_colors always returns a built plot
2020-04-30 17:50:19 -05:00
Carson
a1a22e811f
Report font-family and colors in getCurrentOutputInfo() if .shiny-report-theme class is present
...
Also, rename autocolors to autotheme as we'd like to support fonts and possibly more in the future
Also, wrap ggplot2 default overriding and building logic into one function, so plotly can use it in a self-contained fashion
2020-04-30 17:50:19 -05:00
Joe Cheng
3fbbabd68a
Better autocolors for bars and other geoms that don't have colour; lighter lattice defaults
2020-04-30 17:50:19 -05:00
Joe Cheng
47c1202535
Tweak ggplot2 colors to look closer to defaults
2020-04-30 17:50:19 -05:00
Joe Cheng
83a5feaaa8
More autocolor fixes
...
- Don't set graphical params if fg/bg are not set
- Make maybe_set_palette return the old palette
2020-04-30 17:50:19 -05:00
Joe Cheng
6e767fc71d
More robust un-setting of autocolor params
...
Before this commit, any error would cause the params not to be restored.
If the error was in the initial parameter setting itself (as can occur
with lattice_set_params() at the moment), then not even the graphics
device would be restored, meaning that stopping the app and attempting
to plot would result in graphics being sent to a temp file somewhere
instead of the default graphics device.
2020-04-30 17:50:19 -05:00
Joe Cheng
303f264326
Implement plot.autocolors for cached plots
2020-04-30 17:50:19 -05:00
Carson
f73671845c
Add support for lattice and better default palette() for col scaling
2020-04-30 17:50:19 -05:00
Carson
82c04caf3a
facet strips shouldn't have stroke and fill should be a semi-lighten fg color
2020-04-30 17:50:19 -05:00
Carson
d8080d1336
only assign default for aes that are relevant and non-transparent
2020-04-30 17:50:19 -05:00
Carson
fc09d1c09a
Support a named vector as an override to computed colors
2020-04-30 17:50:19 -05:00
Carson
e9f2e0d7d7
wip
2020-04-30 17:50:19 -05:00
Carson
120baf0a6e
review feedback
2020-03-03 15:34:32 -06:00