Skip to content

Commit

Permalink
NEWS & REAME
Browse files Browse the repository at this point in the history
  • Loading branch information
hrbrmstr committed Apr 25, 2016
1 parent a6a442d commit 5de8ca8
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 36 deletions.
42 changes: 42 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# metricsgraphics 0.9.0

* updated all JS libs to latest versions (including the core Metrics Graphics library)
* Incorporated the `mg-region` region annotation addon (use with `mjs_annotate_region`).
* Borrowed the ability to add custom CSS rules to a chart (via `mjs_add_css_rule`) from [taucharts](http://github.com/hrbrmstr/taucharts).
* Also added the ability to individually color lines without resorting to CSS (a new feature in the underlying JS lib).
* Along with bare or quoted inputs, you can also now make the column names variables.
* The vignette has also been updated to show more examples.
* Examples that depended upon the `ggplot2::movies` data set work with the new ggplot2 which has separated out `movies` into `ggplot2movies::movies`

# metricsgraphics 0.8.5

* enhanced & changed some of the package functions to match MG's new javascript interface.
* Added `mjs_add_confidence_band`.
* Added package vignette.

# metricsgraphics 0.8.0

* updated `mjs_rollover` to show scatterplot example
* cleaned up some of the base code & package layout for an attempt at a CRAN release.
* updated MetricsGraphics.js to latest release version (2.5)

# metricsgraphics 0.7.5

* updated all functions that take bare inputs and made them flexible enough to take bare or quoted inputs.

# metricsgraphics 0.7.0

* Updated widget for MetricsGraphics 2.1.0
* added `mjs_add_mouseover` and tweaked `mjs_bar`. NOTE: As the Mozilla folks said, the bar charts API is quite unstable. There won't be much effort to support them in this package until the API stabilizes a bit more.

# metricsgraphics 0.6.1

* Fixed bug that broke widget in new shiny/shinydashboard context

# metricsgraphics 0.6.0

* added `mjs_grid` for `grid.arrange`-like functionality for placing multiple charts

# metricsgraphics 0.5.0

added histograms (`mjs_histogram` & `mjs_hist`)
19 changes: 1 addition & 18 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,6 @@ The following functions are implemented:
- `mjs_annotate_region`: Region annotations for line charts [EXPERIMENTAL]
- `mjs_add_css_rule`: Add a CSS rule to the rendered htmlwidget

### News

- Version 0.1 released
- Version 0.2 released - added support for markers & baselines + minimal support for time-series
- Version 0.3 released - coded up more config parameters (including color and point sizes) and added support for multi-line plots
- Version 0.3.1 released - `mjs_marker` will now convert dates properly
- Version 0.4 released - added `mjs_add_legend` to support legends in line/multi-line charts
- Version 0.4.1 released - added support for linked charts (currently only works in `Rmd` files and mebbe Shiny if I can get more than one plot to show up in Shiny). See the [online Rmd demo](http://rpubs.com/hrbrmstr/52765) (scroll to bottom); also added some parameter error checking
- Version 0.5 released - added histograms (`mjs_histogram` & `mjs_hist`)
- Version 0.6 relased - added `mjs_grid` for `grid.arrange`-like functionality for placing multiple charts (ref: [http://rpubs.com/hrbrmstr/metricsgraphics0-6](http://rpubs.com/hrbrmstr/metricsgraphics0-6))
- Version 0.6.1 released - Fixed bug that broke widget in new shiny/shinydashboard context
- Version 0.7 released - Updated widget for MetricsGraphics 2.1.0; added `mjs_add_mouseover` and tweaked `mjs_bar`. NOTE: As the Mozilla folks said, the bar charts API is quite unstable. There won't be much effort to support them in this package until the API stabilizes a bit more.
- Version 0.7.5 released - updated all functions that take bare inputs and made them flexible enough to take bare or quoted inputs.
- Version 0.8.0 released - updated `mjs_rollover` to show scatterplot example and cleaned up some of the base code & package layout for an attempt at a CRAN release. Also updated MetricsGraphics.js to latest release version (2.5)
- Version 0.8.5 released - enhanced & changed some of the package functions to match MG's new javascript interface. Added `mjs_add_confidence_band`. Added package vignette.
- Version 0.9.0 released - updated all JS libs to latest versions (including the core Metrics Graphics library). Incorporated the `mg-region` region annotation addon (use with `mjs_annotate_region`). Borrwed the ability to add custom CSS rules to a chart (via `mjs_add_css_rule`) from [taucharts](http://github.com/hrbrmstr/taucharts). Also added the ability to individually color lines without resorting to CSS (a new feature in the underlying JS lib). Along with bare or quoted inputs, you can also now make the column names variables. The vignette has also been updated to show more examples. Finally, examples that depended upon the `ggplot2::movies` data set work with the new ggplot2 which has separated out `movies` into `ggplot2movies::movies`.

### Installation

```{r eval=FALSE}
Expand Down Expand Up @@ -180,7 +163,7 @@ stocks %>%
mjs_plot(rnorm(10000)) %>%
mjs_histogram(bins=30, bar_margin=1)
movies <- ggplot2::movies[sample(nrow(ggplot2::movies), 1000), ]
movies <- ggplot2movies::movies[sample(nrow(ggplot2movies::movies), 1000), ]
mjs_plot(movies$rating) %>% mjs_histogram()
Expand Down
19 changes: 1 addition & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,6 @@ The following functions are implemented:
- `mjs_annotate_region`: Region annotations for line charts [EXPERIMENTAL]
- `mjs_add_css_rule`: Add a CSS rule to the rendered htmlwidget

### News

- Version 0.1 released
- Version 0.2 released - added support for markers & baselines + minimal support for time-series
- Version 0.3 released - coded up more config parameters (including color and point sizes) and added support for multi-line plots
- Version 0.3.1 released - `mjs_marker` will now convert dates properly
- Version 0.4 released - added `mjs_add_legend` to support legends in line/multi-line charts
- Version 0.4.1 released - added support for linked charts (currently only works in `Rmd` files and mebbe Shiny if I can get more than one plot to show up in Shiny). See the [online Rmd demo](http://rpubs.com/hrbrmstr/52765) (scroll to bottom); also added some parameter error checking
- Version 0.5 released - added histograms (`mjs_histogram` & `mjs_hist`)
- Version 0.6 relased - added `mjs_grid` for `grid.arrange`-like functionality for placing multiple charts (ref: [http://rpubs.com/hrbrmstr/metricsgraphics0-6](http://rpubs.com/hrbrmstr/metricsgraphics0-6))
- Version 0.6.1 released - Fixed bug that broke widget in new shiny/shinydashboard context
- Version 0.7 released - Updated widget for MetricsGraphics 2.1.0; added `mjs_add_mouseover` and tweaked `mjs_bar`. NOTE: As the Mozilla folks said, the bar charts API is quite unstable. There won't be much effort to support them in this package until the API stabilizes a bit more.
- Version 0.7.5 released - updated all functions that take bare inputs and made them flexible enough to take bare or quoted inputs.
- Version 0.8.0 released - updated `mjs_rollover` to show scatterplot example and cleaned up some of the base code & package layout for an attempt at a CRAN release. Also updated MetricsGraphics.js to latest release version (2.5)
- Version 0.8.5 released - enhanced & changed some of the package functions to match MG's new javascript interface. Added `mjs_add_confidence_band`. Added package vignette.
- Version 0.9.0 released - updated all JS libs to latest versions (including the core Metrics Graphics library). Incorporated the `mg-region` region annotation addon (use with `mjs_annotate_region`). Borrwed the ability to add custom CSS rules to a chart (via `mjs_add_css_rule`) from [taucharts](http://github.com/hrbrmstr/taucharts). Also added the ability to individually color lines without resorting to CSS (a new feature in the underlying JS lib). Along with bare or quoted inputs, you can also now make the column names variables. The vignette has also been updated to show more examples. Finally, examples that depended upon the `ggplot2::movies` data set work with the new ggplot2 which has separated out `movies` into `ggplot2movies::movies`.

### Installation


Expand Down Expand Up @@ -173,7 +156,7 @@ stocks %>%
mjs_plot(rnorm(10000)) %>%
mjs_histogram(bins=30, bar_margin=1)

movies <- ggplot2::movies[sample(nrow(ggplot2::movies), 1000), ]
movies <- ggplot2movies::movies[sample(nrow(ggplot2movies::movies), 1000), ]

mjs_plot(movies$rating) %>% mjs_histogram()

Expand Down

0 comments on commit 5de8ca8

Please sign in to comment.