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
1 answer

Formatting Highcharts plot via rCharts

I'm having some trouble getting a highchart plot from rCharts working. My data and the intended graph something like this: set.seed(123134) y <- rnorm(20, 35, 4) y[7] <- NA y[13] <- NA y <- rbind(t(t(y)), t(t(rep(NA, 10)))) fc <- rnorm(10, 35, 1) fc…
CKre
  • 181
  • 2
  • 13
3
votes
2 answers

Saving from rCharts to image file

I was wondering if there is a way to save a chart generated using rCharts to a file (as an image). In particular, I want to save a map generated using 'leaflet' to a file. For example, a sample map can be generated using: require(rCharts) L1 <-…
J Harkness
  • 31
  • 2
3
votes
1 answer

rcharts nplot only top of plot showing when running shiny

When I run rCharts with Shiny only the top of the plot shows in my local console. I have absolutely no idea why this is, I'm running the latest dev versions of both rCharts and Shiny. Any help would be greatly appreciated! The two files below…
2
votes
1 answer

How do I display a diagram created with rcharts within my R shiny app?

Situation: I have a sankey diagram based on rcharts that I want to display in my shiny app (see code below). Problem: When I call my shiny app, the sankey diagram is not shown within the shiny app itself but rather in a different tab window of the…
nexonvantec
  • 572
  • 1
  • 5
  • 18
2
votes
0 answers

Library (rChart) and internal widget saving in power bi custom visual

I am creating a custom visual for power bi using rcharts but when it goes for saving the widget it say returns me an error. This is my code:…
2
votes
1 answer

Representing time series data based on multiple classifications in R

So here goes my first ever post in SO. I have a data set which looks something as shown below. But it is for many more buckets and for a higher duration of time period. I am looking to get some kind of an interactive plot that would be ideal to…
Priyanka Basu
  • 397
  • 1
  • 9
2
votes
0 answers

sankey diagram with rCharts into shiny application. Color issue

I am using rCharts to create a Sankey plot library(networkD3) library(rCharts) source1 = c('Proizvodnja okroglega lesa', 'Uvoz okroglega lesa', 'Poraba okroglega lesa', 'Poraba okroglega lesa', 'Zage','Zage','Zage', 'Zagan les','Uvoz…
JerryTheForester
  • 456
  • 1
  • 9
  • 26
2
votes
0 answers

Make collapsible sankey charts like Tableau in R

I'm using the rCharts package to make interactive Sankey charts in R. I'm able to get the chart like I want to, but the issue is, the paths are not collapsible. For example, if I click on the first node, I want to see just the paths of that…
kaelthaas
  • 41
  • 3
2
votes
1 answer

Highcharts activity gauge in Shiny

I'm trying to make Activity gauge from Highcharts in Shiny with rCharts. Please, help. #server.R library(shiny) library(rCharts) shinyServer(function(input, output) { output$chart <- renderChart({ a <- Highcharts$new() a$series(data = 50,…
Shen
  • 183
  • 1
  • 10
2
votes
1 answer

Shiny: Increase highchart size on button click

I want to increase the size of highchart on clicking the zoom button. I tried using the code below to increase the size but so far I have not been able to achieve what I want to do. I actually wanted the highchart to expand and occupy the full page…
SBista
  • 7,479
  • 1
  • 27
  • 58
2
votes
1 answer

Display nvd3 rChart on flexdashboard

I'm trying to get an nvd3 chart to render using flexdashboard. Could anyone please point out what I'm doing wrong? I've tried a few things, there as two examples of what I've tried below. Thanks for any help. flex.Rmd --- title:…
Akhil Nair
  • 3,144
  • 1
  • 17
  • 32
2
votes
1 answer

What kind of data do you input for a Sankey Diagram in R?

I'm new to R, and attempting to use sample data to create a Sankey Diagram using rCharts. I've run this code and it works as intended. However, when I edit that code with my source, target, and value vectors, R crashes and no diagram is produced.…
Sri Rao
  • 21
  • 3
2
votes
1 answer

Highcharts (rCharts) onclick tooltip

I'm trying to reproduce this jsfiddle where the tooltip only appears when the point is clicked: http://jsfiddle.net/2swEQ/2/ This is my "translation" into rCharts: a <- rCharts::Highcharts$new() a$xAxis(categories = c("Jan", "Feb", "Mar", "Apr",…
Carlos
  • 371
  • 5
  • 16
2
votes
0 answers

Strange symbol "" appearing from rChart sankey output in Shiny

Here's a screenshot of the output: The problem seems to be with the $setLib() function. As depending on the directory given, it gives a corresponding string output. Providing the correct directory produces the symbol . For example providing a…
JnrfL
  • 189
  • 2
  • 8
2
votes
1 answer

Disable the "Stacked" option in "multiBarChart" "rChart"

How can I disable the Stacked option in a multiBarChart produced by rCharts. data <- data.frame(Var = c(1, 2, 3, 4), Fac1 = rep(c("A" ,"B"), 2), Fac2 = rep(c("Blue", "Red"), each=2)) require(rCharts) n1 <-…
Mario
  • 316
  • 3
  • 14