Coder Social home page Coder Social logo

Comments (3)

jjallaire avatar jjallaire commented on August 17, 2024

No there isn't a way to do this in the Viewer. However, if you create an R
Markdown document you can create the layout you want and then set the
option to preview R Markdown within the Viewer.

On Tue, Jun 9, 2015 at 8:11 AM, Fluxionist [email protected] wrote:

Sorry if I am posting at the wrong place. What I want is a stock price
chart above a trading volume chart. I know that you can use group to
synchronize them, but in RStudio two dygraphs are plotted separately into
different pages. Is there a way to put these two (or even more) charts on
the same plot in RStudio's viewer, like ggplot2's facets?


Reply to this email directly or view it on GitHub
#59.

from dygraphs.

MySchizoBuddy avatar MySchizoBuddy commented on August 17, 2024

an example would be helpful

from dygraphs.

AMarthaller avatar AMarthaller commented on August 17, 2024

An easy way to do this is to create your dyGraph variables in an R file and the just source it in an RMarkdown file and press the Knit to HTML button.

{r, echo=FALSE, include=FALSE}
source("DyGraphSample.R")

{r, echo=FALSE}
dyGraph1
dyGraph2

You must include the ``` marks before the {x} directives above but the site supports RMarkdown and I'm not sure how to escape it.

from dygraphs.

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.