Files
shiny/R
Carson Sievert 57cc44f662 Coordmap info should retain discrete limits (#2410)
* ggplot2 input brushes should retain discrete range mapping, and be imposed in brushedPoints(), closes #1433

* simplify logic and reduce required storage

* get nearPoints() working as well, cleanup

* only remember scale range if ggplot is facet with a free discrete axis

* Use the scale limits (before the range) since the former is specified, that's what is actually shown on the plot

also, introduce within_brush() helper to consistently handle missing values produced by asNumber()

* also use scale limits in older versions of ggplot2

* DRY

* discrete_mapping -> discrete_limits; better comments

* update test expectation

* a couple unit tests

* update comment to reflect new coordmap data structure

* use unlink() not rm()

* add some tests for specifying scale limits and labels

* Use get_limits() if available

* update news

* better name and comment for new asNumber() argument
2019-05-14 16:34:00 -05:00
..
2018-11-01 14:56:15 -07:00
2018-06-25 10:45:12 -05:00
2018-07-20 16:12:21 -05:00
2018-07-20 16:12:21 -05:00
2016-03-08 16:54:28 -06:00
2018-04-16 09:17:04 -04:00
2017-01-25 23:45:26 +00:00
2014-02-11 22:59:37 -06:00
2015-12-10 15:11:03 -06:00
2015-09-09 12:12:47 -07:00
2017-08-04 15:10:08 +01:00
2016-09-16 23:39:26 -05:00
2019-02-05 14:33:04 -08:00
2017-01-31 20:36:28 -06:00
2018-02-09 11:12:45 -08:00
2018-05-31 10:21:55 -04:00