Questions tagged [polychart]

A JavaScript visualization library for HTML(Hypertext Markup Language, the famous markup language representing web pages) and SVG(Scalable Vector Graphics, a standard format representing 2d vector graphics).

13 questions
4
votes
1 answer

rCharts Polychart: Adding horizontal or vertical lines to a plot

I'm having some trouble understanding how to customize graphs using the rPlot function in the rCharts Package. Say I have the following code #Install rCharts if you do not already have it #This will require devtools, which can be downloaded from…
JClarke09
  • 141
  • 2
  • 9
2
votes
0 answers

Scatterplots using rCharts, polychart.js, and Shiny

I'm trying to make a shiny app with a scatterplot and I am getting the error" Uncaught DefinitionError: Bad specification polychart2.standalone.js:263 I've read that using renderchart2 will fix this but I still get the same error, I am using…
tkdkop
  • 119
  • 1
  • 6
2
votes
0 answers

Date not showing properly in rCharts polychart

structure(list(Date = c("2013-11-17", "2013-11-18", "2013-11-19", "2013-11-20", "2013-11-21", "2013-11-22", "2013-11-23", "2013-11-25", "2013-11-26", "2013-11-27", "2013-11-28", "2013-11-29", "2013-11-30", "2013-12-02", "2013-12-03",…
Koushik Saha
  • 673
  • 1
  • 10
  • 25
2
votes
1 answer

Can I get an interactive plot in ggplot2 or rCharts?

structure(list(Date = c("2013-11-17", "2013-11-18", "2013-11-19", "2013-11-20", "2013-11-21", "2013-11-22", "2013-11-23", "2013-11-25", "2013-11-26", "2013-11-27", "2013-11-28", "2013-11-29", "2013-11-30", "2013-12-02", "2013-12-03",…
Koushik Saha
  • 673
  • 1
  • 10
  • 25
2
votes
1 answer

Manually set point colors in rCharts + polychart

I try to build a chart using rCharts and polychart frontend: dtf <- data.frame(x=c(1, 2, 3, 4, 5), y=c(4, 5, 6, 3, 5), label=c('one', 'two', 'one', 'two', 'two')) color.mapping <- list(one='#ff2385', two='#229922') p2 <- rPlot(x='x',…
Boris Gorelik
  • 29,945
  • 39
  • 128
  • 170
1
vote
0 answers

Shiny and rCharts/Polycharts with both X- and Y-axis choice input

I have a problem where I import a large data set, then generate some selection input from that data set, and then want to be able to have a plot where I can freely choose my x- and y-axis from the data set. I keep crashing the browser, with my…
Hertel89
  • 23
  • 1
  • 8
1
vote
1 answer

rCharts::rPlot on click event

This example showed how to add a tooltip using javascript to rPlot: rPlot tooltip problems This example showed how to add a click event to an hPlot (highcharts): https://github.com/ramnathv/rCharts/blob/master/inst/libraries/highcharts/examples.R I…
Edik
  • 33
  • 6
1
vote
0 answers

Handling dates and large numbers with rCharts + polychart

In the following sample I build a data.frame with sample data: timestamp and a value associated with it. I then try plotting these data using rCharts with polychart as a backend, once using original time stamp, and once after converting it to…
Boris Gorelik
  • 29,945
  • 39
  • 128
  • 170
0
votes
1 answer

How to Change Plotting Symbol in rCharts rPlot?

I want to change the plotting symbol in my rCharts rPlot from the default circle. Specifically, I'd like to be able to use a triangle pointing up, a triangle pointing down, and a square. I only want 1 symbol at a time in any given graph, I'm just…
0
votes
1 answer

rCharts polychart change color of lines

Working with the polychart library in rCharts and creating a bar chart with a line chart overlaid. Basically the bars represent performance of different programs on a single metric, and I am laying a horizontal line where the national average…
0
votes
0 answers

rPlot won't show in Shiny app

I have a app, where I want to use rCharts and polycharts, to create a plot with a tooltip. But the plot doesn't show up, when I load the shiny app, and I can't figure out why. Here is my ui.R: library(shiny) require(rCharts) shinyUI(fluidPage( …
Hertel89
  • 23
  • 1
  • 8
0
votes
1 answer

Disable rCharts animations

I am using rCharts and shiny in order to plot a variety of datasets. These datasets are dynamic and may in some cases be very big (10 000+ points in some cases). In these cases displaying the plot takes a lot of time (40s+). Is there a way to…
FableBlaze
  • 1,785
  • 3
  • 16
  • 21
0
votes
0 answers

How to customize rPlot title ( font size , font,..)?

How can I change the font size of an rPlot title? library(rCharts) p1 <- rPlot(mpg ~ cyl, data = mtcars, type = 'point') p1$set(title = "title",fontSize = '50px') p1
agstudy
  • 119,832
  • 17
  • 199
  • 261