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
0
votes
3 answers

How to set highchart global options IN R

I see a lot of examples in javascript but I cannot find an example to do it in R Here is the api link: http://api.highcharts.com/highcharts#global I am trying to set "timezoneOffset" and I have tried many different ways. When I do this in R:…
0
votes
0 answers

NVD3 and RCharts in Shiny

I have very simple question but there seems to be problem in finding the answer, I know when using ggplot within shiny one can use aes_string() to change value through input for columns. So when i change selectinput for Test1,Test2 or Test3, I can…
Shoaibkhanz
  • 1,942
  • 3
  • 24
  • 41
0
votes
0 answers

Strings as tick values for rCharts NVD3 line chart

I'm trying to use display categorical levels in the x-axis of my line chart. Say I have a data frame mydata <- data.frame(time = c("10am", "12pm", "3pm"), month = c("JAN", "JUL", "DEC"), value = 3:5) and I want to plot value ~ time or value ~…
kevinykuo
  • 4,600
  • 5
  • 23
  • 31
0
votes
2 answers

Pyramid chart in rCharts with Highcharts

I'm trying to create pyramid chart similar to this http://www.highcharts.com/demo/pyramid in rCharts, however it gives me an error even though the output looks fine h1 <- Highcharts$new() h1$chart(type = "pyramid") h1$series(name='Unique users',…
Marigold
  • 1,619
  • 1
  • 15
  • 17
0
votes
3 answers

Change line type in rCharts NVD3 (nPlot)

I would like to have both solid and dashed lines for different levels of a factor (grouping variable) in a plot created with nPlot. Any suggestions? library(reshape2) library(ggplot2) library(rCharts) ecm <- reshape2::melt(economics[,c('date',…
user3874377
  • 255
  • 3
  • 10
0
votes
2 answers

R - plotting with rChart and stacked bars (percentages)

I've been trying to get a graph for several days now with no success, help would be really appreciated. I've tried to replicate saveral examples, especially this one from here haireye <- subset(as.data.frame(HairEyeColor), Sex == "Male") n1 <-…
0
votes
1 answer

mouseover line with some points marked

I'm new to rCharts, in fact this is my first attempt. So please forgive a naive question. I'm trying to create a simple rCharts visual which has a only one horizontal line (X-axis) and no Y-axis. I want to be able to choose the length and each…
J Verma
  • 121
  • 5
0
votes
1 answer

rCharts tooltip content for multiplie lines

I am a simple R coder with almost no experience coding in HTML of javascript, so I'm having a hard time understanding the wrappers for the tool tip customization code. I have 2 time series that I've plotted with rCharts lineWithFocusChart, now I…
mk0108
  • 3
  • 1
0
votes
1 answer

How to use Highcharts theme with rCharts

I want to create my own theme for Highcharts to use them with rCharts on Shiny app. I've tried to add link to theme scrip by adding tags$head( tags$script(type="text/javascript", src =…
kismsu
  • 1,049
  • 7
  • 22
0
votes
1 answer

rcharts scatterplot with smooth curve

Is it possible to plot a scatterplot with a smooth curve and confidence interval using rcharts? I can do it with ggvis or ggplot2 but I think rcharts graphics look better in general. This is an example with ggvis library(ggvis) mtcars %>% …
Ignacio
  • 7,646
  • 16
  • 60
  • 113
0
votes
1 answer

rCharts nvd3 multibar chart

I am interested in plotting JVM GC events using thin vertical bars using nvd3 and rCharts. The example data is like this. The time taken is in seconds. Event Date TimeTakenforEvent FullGC 1/1/2014 10 GCType1 …
Mohan Radhakrishnan
  • 3,002
  • 5
  • 28
  • 42
0
votes
1 answer

Update the axis labels with rChart

I just discovered rChart and googleVis and i want to thank developers for their job. My problem is simple, i want to add a variable label to my axis for nplot? I also want to know if it's possible to add variable like sizevar and colorvar of…
0
votes
1 answer

Change color on single-series line chart using rCharts and Highcharts?

Is it possible to change the color of a line using rCharts and Highcharts so that the line color changes depending on a factor? I've done this with ggplot2 but would like to make an interactive version if possible. I've tried h1 <-…
Sharon
  • 3,676
  • 3
  • 23
  • 20
0
votes
0 answers

Interactive Slidify deployment?

I found this great tutorial for slidify How can I create a "standalone" presentation? I tried changing the mode to standalone but it does not work because of Rcharts and shiny. I would like to be able to create something that I can host in my…
Ignacio
  • 7,646
  • 16
  • 60
  • 113
0
votes
1 answer

Shiny and Rcharts y-axis marks?

I have the following code working: library(rCharts) library(shiny) X <- data.frame(Var1 = c(1L, 2L, 3L, 4L, 5L, 6L, 7L,8L, 9L, 10L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 1L, 2L,3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L), Var2 =…
Ignacio
  • 7,646
  • 16
  • 60
  • 113