Customising lines and points with googleVis

At the end of March Google released a new version of the Chart Tools API with new options for point shapes and line brushes. The arguments are called pointShape and lineDashStyle and can be set directly via googleVis.

We published googleVis 0.5.2 on CRAN yesterday with added examples for those new options in gvisLineChart and gvisScatterChart. Note, these options can be used with most chart types as well, also in combination. Visit the Google documentation for more details.

Customising Points

Customising Lines

Session Info

R version 3.1.0 (2014-04-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base     

other attached packages:
[1] googleVis_0.5.2

loaded via a namespace (and not attached):
[1] RJSONIO_1.0-3 tools_3.1.0 

Citation

For attribution, please cite this work as:

Markus Gesmann (May 06, 2014) Customising lines and points with googleVis. Retrieved from https://magesblog.com/post/2014-05-06-customising-lines-and-points-with/

BibTeX citation:

@misc{ 2014-customising-lines-and-points-with-googlevis,
 author = { Markus Gesmann },
 title = { Customising lines and points with googleVis },
 url = { https://magesblog.com/post/2014-05-06-customising-lines-and-points-with/ },
 year = { 2014 }
 updated = { May 06, 2014 }
}

Related