Git Product home page Git Product logo

Comments (4)

winston avatar winston commented on July 17, 2024

Yes. It is possible. The only integration with Rails is the view helper
which just calls chart.to_js. Everything else is just Ruby code.

You will have to write your own Ruby method to pop open a browser and load
the chart though as the gem does not have that functionality.

Hope this helps!

On Saturday, March 8, 2014, Sterling Paramore [email protected]
wrote:

I have some data in a Ruby program that I'd to quickly view formatted in a
nice grid. You can do something like this with the Google Visualization
plugin for R. Basically, I call a method on an R dataset and it pops open a
browser tab with the table displayed. I'd love to be able to reproduce some
of that functionality in a Ruby app.

Is there any way to use this gem to run a ruby command and have it pop
open a browser tab with the data table/chart without having rails?


Reply to this email directly or view it on GitHubhttps://github.com//issues/67
.

Cheers,
Winston

from google_visualr.

gnilrets avatar gnilrets commented on July 17, 2024

Ok, cool. Any suggestions on how to write a method to pop open a browser and load the chart?

from google_visualr.

gnilrets avatar gnilrets commented on July 17, 2024

Nevermind. Think I got something figured out using this and Launchy(https://github.com/copiousfreetime/launchy).

This is going to be awesome. Thank you!

from google_visualr.

winston avatar winston commented on July 17, 2024

Sorry I was away on vacation and hence couldn't reply in time.

Great that you found a solution to your needs. Let me know how it goes. Thanks! :)

from google_visualr.

Related Issues (20)

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.