-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
layout ggplots in a table #115
Comments
I would greatly appreciate it if you could guide me on how the output HTML and JavaScript are presently generated, as well as which specific files I should refer to for this information. I intend to include the resolution to this issue in my proposal. |
https://github.com/animint/animint2/blob/master/inst/htmljs/animint.js#L148 selects an element in which the plots will be added https://github.com/animint/animint2/blob/master/inst/htmljs/animint.js#L221 adds a table which will contain a new plot, one after the other, so this is one of the lines that needs to be modified |
currently ggplots appear one after another in the rendered HTML code, and the visual layout is determined interactively, by resizing/zooming the window. layout here means how to arrange the ggplots in a grid (is plot 3 to the right of plot 2, or below plot 1?)
would be nice if we could implement some simple method for defining the layout.
for example below plots are in a 2x2 table, plot1 is on the first/left column, spanning both rows; plot2 is on the second/right column, first row; plot3 is on the second/right column, second row.
The text was updated successfully, but these errors were encountered: