Giter Club home page Giter Club logo

rchartsshiny's People

Contributors

galiya avatar ramnathv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rchartsshiny's Issues

how to change font color in Rcharts Rshiny

Hello,
I am trying to make different color for chart legend created by Rcharts in Rshiny. For example: I want to make chart legend font and label font in yellow color text instead of the black color text (because I customized my panel in dark grey. The default black color of the font from Rchart makes any font hard to tell). But I could not find how to do it. Any help will be greatly appreciated!

hair_eye = as.data.frame(HairEyeColor) p2 <- nPlot(Freq ~ Hair, group = 'Eye', data = subset(hair_eye, Sex == "Female"), type = 'multiBarChart' ) p2$chart(color = c('brown', 'blue', '#594c26', 'green')) p2 p2$chart(showLegend=TRUE) p4$chart(labelType="value")

Interactive Visualizations with rCharts and Shiny: problems with Input

I am trying to reproduce the shiny app as described here
However, when using

choices = sort(unique(dat2m$country))

I get the numbers 1 to 35 as possible choices, NOT the names of the countries (as one would expect).
If I use

choices = c("Belgium","Canada")

it does display these two countries correctly...

I am working on a Windows 7 platform,
using RStudio Version 0.98.1102,
rCharts 0.4.5,
and Shiny 0.11.1

OECD example still shows numbers for country choices

Sorry to bring this up, as it looks like it was fixed in a commit 22 days ago, however the online shiny app still displays numeric country choices for me (screenshot taken 03/06/2015):

2015-03-07_005918

I looked at the code, which seemed like it couldn't possibly create numeric choices, so I cloned the files and ran a local version of the app. It's indeed correct:

2015-03-07_010729

Might the code have been fixed on github, but not updated on the shiny server?

This didn't really bother me; I just wanted to drop a courtesy note in case you weren't aware!

rChartOECD example doesn't work

Am I doing something incorrectly?

Just downloaded the zip, extracted, cd'd to the rChartOECD dir and:

> library(shiny)
> runApp()
Loading required package: RCurl
Loading required package: bitops
Error in guess(varying) : 
  failed to guess time-varying variables from their names

> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Arch Linux

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C              
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
[1] rCharts_0.4.5  RCurl_1.95-4.8 bitops_1.0-6   shiny_0.13.2  

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.7     lattice_0.20-33 digest_0.6.10   mime_0.5       
 [5] grid_3.3.1      R6_2.1.2        plyr_1.8.4      xtable_1.8-2   
 [9] whisker_0.3-2   RJSONIO_1.3-0   tools_3.3.1     httpuv_1.3.3   
[13] yaml_2.1.13     htmltools_0.3.5

rCharts, polyCharts

Hi Ramnath:

You are doing great work in this area. Quick question for you - i installed the rCharts package and tried a test plot but 'printChart' sets up the server at port 8100 but the web browser is unable to display anything.

Do I need to install anything else, like the polyCharts library in addition to rCharts, or is it all self-contained and there's something else going on.

Thanks

How to send Rchart in Email

Hi,

Thanks for providing such a powerful tool. I want to share the rchart with other people, how can I paste the chart into a email? I tried to use the html, but the chart doesn't show up.

Best,
Rita

Experiencing Error: object 'LIB' not found

Hi there,

Awesome package -- I wanted to reproduce the example in Shiny with the code for this example: http://ramnathv.github.io/rChartsShiny/

Running the code in global.R and subsequently storing ui.R and server.R in a folder, I executed runApp and had this error returned:

runApp(".../rchart/")

Listening on port 8100
Error in addResourcePath(LIB$name, LIB$url) : object 'LIB' not found

I've Googled this error but couldn't find a solution. I did not edit any code whatsoever, I simply tried to reproduce the example. Could you help me out with this error?

Thanks!

Quick edit: I'm using R version 2.15.3 (2013-03-01) on OS X

Displaying nvd3Plot() plots in Shiny

I've got another question --

With the rPlot(), under ui.R I simply have to pass the identifier over to showOutput. Say the identifier is "chart", then I'd pass that to showOutput("chart", "polycharts").

Regarding nvd3Plot(), how would I go about displaying the plot in Shiny? showOutput() didn't work for me.

Thanks!

Alan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.