Questions tagged [rcharts]

A package designed to draw interactive graphics using R and JavaScript libraries.

rCharts is a new package designed to draw interactive graphics using R and javascript libraries.

494 questions
3
votes
0 answers

R shiny: how to embed a background image in a plot created with rCharts / Highcharts?

I have an R shiny app containing a few Highcharts plots that were created with rCharts package. I would like to include a background image (sourced locally from my hard drive) in one of the plots. I found an example on Highcharts website using…
Mark
  • 45
  • 5
3
votes
1 answer

rMaps in Shiny: Legend and labels are not getting displayed in US choropleth in shiny app

Legend and Labels (state abbreviations) are not getting displayed in US choropleth in shiny app. However, when I run the code in global.R functions in RStudio console, both labels and legend are displayed fine. Please help! Here is the…
3
votes
0 answers

setTemplate in rCharts nvd3 has Strange Behavior for Multiple Plots

I have a shiny application that uses the nvd3 library from rCharts. I have provided a fully reproducible example below: library(shiny) library(reshape2) library(ggplot2) testing <- function() { shinyApp( options = list(launch.browser = TRUE), …
johnny838
  • 922
  • 7
  • 15
3
votes
0 answers

Shiny Pauses Between Reactive Functions

I have a general question about shiny reactive functions with some pseudo code to demonstrate essentially what I am trying to do. I essentially am wondering why even though each of my reactive functions are very quick, but when I am running the…
johnny838
  • 922
  • 7
  • 15
3
votes
1 answer

rChart gives a blank screen

Here is my data: rawData <- structure(list(Date = c("4/30/2015", "5/1/2015", "5/2/2015", "5/3/2015", "5/4/2015", "5/5/2015"), Amount = c(23L, 43L, 32L, 43L, 43L, 32L)), .Names = c("Date", "Amount"), class = "data.frame", row.names = c(NA,…
user1357015
  • 11,168
  • 22
  • 66
  • 111
3
votes
1 answer

rCharts highlight charts in shiny not working

Using the answer to an existing question as a base for reproducible code here I get the following error, and am unsure why it does not work...It seems to be a generic problem when rendering hPlot type charts in shiny, as I constantly keep getting…
h.l.m
  • 13,015
  • 22
  • 82
  • 169
3
votes
4 answers

multiBarChart (nvd3) in rCharts is not displaying

I am using rChart library for generating javascript plots directly from R statistical package. I am trying to compute multiBarChart but the plot seems to be blank. EDIT What is more, none of examples from here displays on my…
Marcin
  • 7,834
  • 8
  • 52
  • 99
3
votes
1 answer

rCharts different sizes for the two graphs in Shiny App

I try to include in my shiny app two graphs (rCharts,highcharts) with different sizes, but when I change the input to the first graph it immediately takes the size of the second. I tried to find the answer in the last few days, but without…
Peter
  • 66
  • 4
3
votes
1 answer

Add text to leaflet map in rCharts

I'm using rCharts to create a leaflet map in RStudio. Does anyone know whether it's possible to add text to the resultant map at a specific point (e.g.) I can't see this as a specific feature noted on the rCharts leaflet github page:…
3
votes
1 answer

remove leaflet heatmap layer with rCharts and shiny

I want to be able to let users see different heatmaps based on a parameter's choice in shiny, using rCharts and Leaflet. The first time the heatmap is displayed it looks great. All the other times the heat map is displayed as layers on top of the…
Enzo
  • 2,543
  • 1
  • 25
  • 38
3
votes
1 answer

Area chart: cannot get stacking in correct order - legend out of sync with Data

Am very new to R and am NOT an experienced programmer. I am having an issue with ggplot using the geom_area to create a stacked chart for wind directions. I want to ensure that I stack from bottom to top in the order N, NE, E, SE, S, SW, W, NW I…
piashaw
  • 33
  • 5
3
votes
1 answer

zoomable image map in RStudio Shiny

I have a static png file of several thousand pixels height and width, and I would like to visualize parts of if by interactively zooming in and out of it in an RStudio Shiny website. What is the best way to have this working in a way that is…
719016
  • 9,922
  • 20
  • 85
  • 158
3
votes
1 answer

Add rCharts to packrat

I am working on an R project (R studio) that requires several packages and packrat to manage them. I have been able to find CRAN or binaries for all of them except rCharts which has to be installed with: require(devtools) …
Ryan
  • 231
  • 3
  • 9
3
votes
1 answer

How to add a regression line to Shiny rCharts plot

I'm trying to add a regression line to a simple scatterplot using rCharts in a Shiny app, but I can't get it to work. The following code displays the graph just fine (sans regression line) if you remove the p$layer() call. With it, the graph's axes…
kendaop
  • 107
  • 2
  • 13
3
votes
1 answer

Add Unique Links to all Data Points in Graph with rCharts

I'm using rCharts to create a scatterplot that displays ratings that I have calculated over time. I have more information for each individual data point (rating) and would like to have each data point on the graph link to a unique page with more…
Mostafa90
  • 1,674
  • 1
  • 21
  • 39